-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
91 lines (91 loc) · 3.66 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"name": "impresa-luna",
"version": "1.0.1",
"homepage": "https://github.com/BitPrepared/d1b0#readme",
"private": true,
"url": "https://github.com/BitPrepared/d1b0/issues",
"license": "GPL-3.0",
"repository": {
"type": "git",
"url": "git+https://github.com/BitPrepared/d1b0.git"
},
"author": "",
"main": "index.js",
"dependencies": {
"rimraf": "^2.6.1",
"node-ssh": "^4.2.2",
"co": "^4.6.0",
"co-prompt": "^1.0.0",
"npm-run-all": "^4.0.2",
"process-env": "^1.1.0",
"mkdirp": "^0.5.1",
"node-emoji": "^1.5.1",
"shelljs": "^0.7.7",
"hostile": "^1.3.0",
"chalk": "^1.1.3",
"favicons": "^4.8.6",
"opener": "^1.4.3",
"jshint": "^2.9.4",
"raml2html": "^3.0.1"
},
"devDependencies": {
"ajv": "^4.7.5",
"artillery": "^1.5.6",
"gitbook-cli": "^2.3.0",
"jszip": "^3.1.3",
"mermaid": "^8.7.0",
"rsyncwrapper": "^2.0.1",
"tidy-html5": "^0.1.1"
},
"config": {
"reporter": "xunit",
"enviroment": "dev",
"server": "dev.d1b0.local"
},
"scripts": {
"initialize": "npm-run-all --silent check clean",
"check": "npm-run-all --silent --parallel lint check:hostfile",
"check:hostfile": "node scripts/js/check.hostfile.js",
"lint": "jshint scripts/js/*.js",
"build": "npm-run-all --silent --parallel build:favicon build:css build:doc build:html build:wiki build:server",
"build:favicon": "node scripts/js/favicon.js",
"build:css": "node scripts/js/css.build.js",
"build:wiki": "node scripts/js/wiki.build.js",
"build:html": "node scripts/js/html.build.js",
"build:doc": "node scripts/js/api.doc.js",
"build:workspace": "node scripts/js/workspace.build.js",
"build:server": "node scripts/js/build.js",
"clean": "npm-run-all --silent --parallel clean:dist clean:applications clean:wiki",
"clean:applications": "rimraf applications/assets/icons/*",
"clean:dist": "rimraf ./dist",
"clean:wiki": "rimraf ./wiki",
"clean:server": "node scripts/js/clean.js",
"ssh:developer": "ssh -p 2222 developer@$npm_package_config_server -i server/plays/ssh/developer.key",
"ssh:root": "ssh -p 2222 root@$npm_package_config_server -i server/plays/ssh/root.key",
"start": "cd server && vagrant up",
"stop": "cd server && vagrant halt",
"test": "npm-run-all --silent --parallel test:workspace test:upload",
"test:upload": "echo upload",
"test:workspace": "cd applications/workspace/ ; ./vendor/phpunit/phpunit/phpunit",
"test:carico": "artillery run simulatore/fullscenario.json -e $npm_package_config_enviroment -o report_carico.json ; artillery report report_carico.json -o carico.html ; rimraf report_carico.json",
"check:security": "cd server && ansible-playbook -i $npm_package_config_enviroment.hosts security.check.yml",
"check:build-dep": "npm-check",
"dist": "mkdirp dist/ && npm-run-all --silent --parallel dist:server dist:applications",
"dist:server": "vagrant package --base d1b0server --output dist/d1b0-server-$npm_package_version.box",
"dist:applications": "node scripts/js/workspace.package.js",
"release": "",
"deploy": "npm run deploy:$npm_package_config_enviroment",
"deploy:dev": "node scripts/js/workspace.build.js vagrant && node scripts/js/workspace.deploy.dev.js && node scripts/js/auth.deploy.dev.js",
"deploy:prod": "s3-cli sync ./dist/ s3://example-com/prod-site/",
"deploy:stage": "s3-cli sync ./dist/ s3://example-com/stage-site/",
"open:dev": "opener https://$npm_package_config_server:8443/workspace/"
},
"engines": {
"node": "7.x",
"npm": "4.x"
},
"description": "Progetto Segreto",
"bugs": {
"url": "https://github.com/BitPrepared/d1b0/issues"
}
}