-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
127 lines (127 loc) · 6.17 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"name": "abe-cli",
"version": "2.14.2",
"description": "Abe command line tool",
"main": "src/server/app.js",
"repository": {
"type": "git",
"url": "git://github.com/AdFabConnect/abejs.git"
},
"scripts": {
"lint": "eslint src --fix",
"test": "mocha --recursive --compilers js:babel-register --require babel-polyfill",
"test-cov": "istanbul cover _mocha -- --recursive --compilers js:babel-register --require babel-polyfill",
"test-coveralls": "istanbul cover _mocha --report lcovonly -- --recursive --compilers js:babel-register --require babel-polyfill -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
"install-selenium": "node nightwatch.conf.js",
"pretest-e2e": "ROOT=$PWD/tests/demo ./dist/index.js serve -p 3003 &",
"test-e2e": "sleep 6 && node_modules/.bin/nightwatch --config nightwatch.conf.js",
"posttest-e2e": "kill -9 $(lsof -ti tcp:3003)",
"start": "node --debug --harmony ./dist/server/index.js",
"babel": "babelify --presets [ es2015 ] src/server/public/abejs/scripts/template-engine.js -o src/server/public/abejs/scripts/template-engine-compiled.js",
"watch": "./node_modules/.bin/parallelshell './node_modules/.bin/watchify -v -t [ babelify --presets [ es2015 ] ] src/server/public/abejs/scripts/template-engine.js -o src/server/public/abejs/scripts/template-engine-compiled.js' './node_modules/.bin/watchify -v -t [ babelify --presets [ es2015 ] ] src/server/public/abejs/scripts/admin.js -o src/server/public/abejs/scripts/admin-compiled.js' './node_modules/.bin/watchify -v -t [ babelify --presets [ es2015 ] ] src/server/public/abejs/scripts/user-login.js -o src/server/public/abejs/scripts/user-login-compiled.js' 'npm run watch:sass'",
"watch:sass": "./node_modules/.bin/watch 'npm run sass' ./src/server/sass",
"babel-app": "node_modules/.bin/babel-node --presets es2015",
"build": "node_modules/.bin/babel-node --presets es2015 src/cli/build/template.js",
"mvasset": "mkdirp dist/server/public/abejs && cp -r src/server/locale dist/server && cp -r src/server/views dist/server && cp -r src/server/public/abejs/css dist/server/public/abejs && cp -r src/server/public/abejs/fonts dist/server/public/abejs && cp -r src/server/public/abejs/image dist/server/public/abejs",
"sass": "node ./src/tasks/sass.js",
"js:users": "browserify -t [ babelify --presets [ es2015 ] ] src/server/public/abejs/scripts/user-login.js -o src/server/public/abejs/scripts/user-login-compiled.js",
"js:admin": "browserify -t [ babelify --presets [ es2015 ] ] src/server/public/abejs/scripts/admin.js -o src/server/public/abejs/scripts/admin-compiled.js",
"js:engine": "browserify -t [ babelify --presets [ es2015 ] ] src/server/public/abejs/scripts/template-engine.js -o src/server/public/abejs/scripts/template-engine-compiled.js",
"build:front": "npm run js:admin && npm run js:users && npm run js:engine && npm run sass",
"build:scripts": "npm run build:front && ./node_modules/.bin/babel --presets es2015,stage-0 -d dist/server src/server/ && ./node_modules/.bin/babel --presets es2015,stage-0 -d dist/cli src/cli/ && npm run mvasset",
"compile": "./node_modules/.bin/babel --presets es2015,stage-0 -d dist/ src/ && cp -r src/cli/core/config/config.json dist/cli/core/config/config.json",
"distribute": "npm run build:front && npm run compile && npm run mvasset",
"watchdev": "npm run build:front && npm run compile && npm run mvasset && nodemon --debug --exec npm run compile && npm run mvasset --kill-others",
"startdev": "npm run build:front && npm run compile && npm run mvasset && node src/tasks/nodemon.js & npm run watch --kill-others",
"startdevOnly": "npm run js:admin && npm run js:users && npm run js:engine && node src/tasks/nodemon.js & npm run watch --kill-others"
},
"author": "Adfab Connect",
"license": "ISC",
"preferGlobal": true,
"bin": {
"abe": "dist/index.js"
},
"dependencies": {
"ajax-request": "^1.2.1",
"babel-polyfill": "^6.16.0",
"babel-register": "^6.16.3",
"bcrypt-nodejs": "0.0.3",
"bluebird": "^3.4.6",
"body-parser": "^1.14.1",
"child-process-promise": "^2.1.3",
"cli-color": "^1.1.0",
"commander": "^2.9.0",
"connect-busboy": "0.0.2",
"connect-flash": "^0.1.1",
"cookie-parser": "^1.4.1",
"cookies": "^0.6.1",
"csurf": "^1.8.3",
"deepmerge": "^1.1.0",
"dir-compare": "^1.2.0",
"express": "^4.13.3",
"express-handlebars": "^3.0.0",
"express-secure-handlebars": "^2.1.0",
"express-session": "^1.13.0",
"extend": "^3.0.0",
"fs-extra": "^1.0.0",
"handlebars": "^4.0.3",
"handlebars-helper-slugify": "^0.3.2",
"handlebars-helpers": "^0.7.7",
"handlebars-intl": "^1.1.1",
"helmet": "^3.1.0",
"helper-markdown": "^0.2.1",
"html-minifier": "^3.1.0",
"https": "^1.0.0",
"jimp": "^0.2.27",
"jwt-simple": "^0.5.1",
"limax": "^1.4.0",
"mkdirp": "^0.5.1",
"moment": "^2.15.2",
"nanoajax": "^0.4.0",
"node-sqlparser": "^1.0.2",
"nodemailer": "^2.6.4",
"oauth2orize": "^1.7.0",
"on": "^1.3.0",
"openurl": "^1.1.0",
"owasp-password-strength-test": "^1.3.0",
"passport": "^0.3.2",
"passport-http": "^0.3.0",
"passport-http-bearer": "^1.0.1",
"passport-local": "^1.0.0",
"passport-oauth2-client-password": "^0.1.2",
"prettyjson": "^1.1.3",
"prompt": "^1.0.0",
"qs": "^6.0.1",
"ratelimiter": "^2.1.3",
"redis": "^2.6.0-1",
"request": "^2.69.0",
"smartcrop-cli": "^1.0.2",
"smtp-server": "^1.11.1",
"striptags": "^2.1.1",
"uuid": "^3.0.0",
"watch": "^1.0.1",
"which": "^1.2.11",
"xss": "^0.3.2"
},
"devDependencies": {
"babel": "^6.3.26",
"babel-cli": "^6.3.17",
"babel-preset-es2015": "^6.9.0",
"babel-preset-stage-0": "^6.3.13",
"babelify": "^7.2.0",
"browserify": "^13.0.0",
"chai": "^3.5.0",
"coveralls": "^2.11.14",
"eslint": "^3.6.0",
"istanbul": "^1.1.0-alpha.1",
"mocha": "^3.0.2",
"nightwatch": "^0.9.11",
"node-sass": "^3.7.0",
"nodemon": "^1.8.1",
"parallelshell": "^2.0.0",
"selenium-download": "^2.0.7",
"sinon": "^1.17.6",
"sinon-chai": "^2.8.0",
"watchify": "^3.4.0"
}
}