forked from tradle/tradleconf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
63 lines (63 loc) · 2.73 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"name": "@tradle/configure-tradle",
"version": "1.0.0",
"description": "template for building, editing and deploying Tradle models, styles and configuration to your Tradle MyCloud",
"repository": {
"type": "git",
"url": "https://github.com/tradle/configure-tradle"
},
"author": "Mark Vayngrib <[email protected]> (http://github.com/mvayngrib)",
"license": "MIT",
"scripts": {
"init": "./scripts/init.sh",
"start": "./scripts/start.sh",
"lint": "eslint --quiet --ext .json --ext .js .",
"validate:models": "validate-model ./conf/models.json --depends-on @tradle/models --depends-on @tradle/custom-models",
"validate:style": "node ./lib/validate-style.js ./conf/style.json",
"validate:botconf": "node ./lib/validate-botconf.js ./conf/bot.json",
"validate:terms": "node ./lib/validate-terms.js ./conf/terms-and-conditions.md",
"mergemodels": "npm run lint && pack-models -i ./models -o ./conf/models.json",
"postpublish": "git push -u",
"build": "npm run build:style && npm run build:models && npm run build:botconf && npm run build:terms",
"build:models": "npm run mergemodels && npm run validate:models",
"build:style": "npm run validate:style",
"build:botconf": "npm run validate:botconf",
"build:terms": "npm run validate:terms",
"precommit": "npm run build && git add ./conf/models.json",
"deploy": "./scripts/deploy.sh",
"deploy:models": "./scripts/push-to-s3.sh conf/models.json && npm run postdeploy",
"deploy:style": "./scripts/push-to-s3.sh conf/style.json && npm run postdeploy",
"deploy:botconf": "./scripts/push-to-s3.sh conf/bot.json && npm run postdeploy",
"deploy:terms": "./scripts/push-to-s3.sh conf/terms-and-conditions.md && npm run postdeploy",
"deploy:local": "local=1 npm run deploy",
"deploy:local:models": "local=1 npm run deploy:models",
"deploy:local:style": "local=1 npm run deploy:style",
"deploy:local:botconf": "local=1 npm run deploy:botconf",
"deploy:local:terms": "local=1 npm run deploy:terms",
"postdeploy": "./scripts/postdeploy.sh",
"load": "./scripts/load-from-s3.sh"
},
"keywords": [
"tradle",
"models"
],
"bugs": {
"url": "https://github.com/tradle/configure-tradle/issues"
},
"homepage": "https://github.com/tradle/configure-tradle",
"dependencies": {
"@tradle/custom-models": "github:tradle/custom-models",
"@tradle/models": "github:tradle/models",
"@tradle/pack-models": "^2.0.0",
"@tradle/validate-model": "^5.0.0",
"@tradle/validate-resource": "^2.16.0",
"eslint": "^3.15.0",
"eslint-plugin-json": "^1.2.0",
"git": "^0.1.5",
"husky": "^0.13.1",
"marked": "^0.3.9",
"minimist": "^1.2.0",
"typeforce": "^1.10.6",
"write-file-atomic": "^1.1.4"
}
}