1 | { |
||
2 | "name": "abecms", |
||
3 | "version": "3.7.3", |
||
4 | "description": "Abe: The lightning fast CMS", |
||
5 | "main": "src/server/app.js", |
||
6 | "bugs": "https://github.com/abecms/abecms/issues", |
||
7 | "repository": { |
||
8 | "type": "git", |
||
9 | "url": "git://github.com/abecms/abecms.git" |
||
10 | }, |
||
11 | "scripts": { |
||
12 | "lint": "eslint src --fix", |
||
13 | "test": "mocha --recursive --compilers js:babel-register --require babel-polyfill tests/unit", |
||
14 | "test-cov": "istanbul cover _mocha -- --recursive --compilers js:babel-register --require babel-polyfill tests/unit", |
||
15 | "test-coveralls": "istanbul cover _mocha --report lcovonly -- --recursive --compilers js:babel-register --require babel-polyfill -R spec tests/unit && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage", |
||
16 | "install-selenium": "node nightwatch.conf.js", |
||
17 | "pretest-e2e": "ROOT=$PWD/tests/demo ./dist/index.js serve -p 3003 &", |
||
18 | "test-e2e": "sleep 6 && node_modules/.bin/nightwatch --config nightwatch.conf.js", |
||
19 | "posttest-e2e": "kill -9 $(lsof -ti tcp:3003)", |
||
20 | "preversion": "npm test", |
||
21 | "postversion": "git push origin master --follow-tags && npm publish", |
||
22 | "start": "node --debug --harmony ./dist/server/index.js", |
||
23 | "babel": "babelify --presets [ es2015 ] src/server/public/abecms/scripts/template-engine.js -o src/server/public/abecms/scripts/template-engine-compiled.js", |
||
24 | "watch": "./node_modules/.bin/parallelshell './node_modules/.bin/watchify -v -t [ babelify --presets [ es2015 ] ] src/server/public/abecms/scripts/template-engine.js -o src/server/public/abecms/scripts/template-engine-compiled.js' './node_modules/.bin/watchify -v -t [ babelify --presets [ es2015 ] ] src/server/public/abecms/scripts/admin.js -o src/server/public/abecms/scripts/admin-compiled.js' './node_modules/.bin/watchify -v -t [ babelify --presets [ es2015 ] ] src/server/public/abecms/scripts/user-login.js -o src/server/public/abecms/scripts/user-login-compiled.js' 'npm run watch:sass'", |
||
25 | "watch:sass": "./node_modules/.bin/watch 'npm run sass' ./src/server/sass", |
||
26 | "babel-app": "node_modules/.bin/babel-node --presets es2015", |
||
27 | "build": "node_modules/.bin/babel-node --presets es2015 src/cli/build/template.js", |
||
28 | "mvasset": "mkdirp dist/server/public/abecms && cp -r src/server/locale dist/server && cp -r src/server/views dist/server && cp -r src/server/public/abecms/css dist/server/public/abecms && cp -r src/server/public/abecms/libs dist/server/public/abecms && cp -r src/server/public/abecms/fonts dist/server/public/abecms && cp -r src/server/public/abecms/image dist/server/public/abecms", |
||
29 | "sass": "node ./src/tasks/sass.js", |
||
30 | "js:users": "browserify -t [ babelify --presets [ es2015 ] ] src/server/public/abecms/scripts/user-login.js -o src/server/public/abecms/scripts/user-login-compiled.js", |
||
31 | "js:admin": "browserify -t [ babelify --presets [ es2015 ] ] src/server/public/abecms/scripts/admin.js -o src/server/public/abecms/scripts/admin-compiled.js", |
||
32 | "js:engine": "browserify -t [ babelify --presets [ es2015 ] ] src/server/public/abecms/scripts/template-engine.js -o src/server/public/abecms/scripts/template-engine-compiled.js", |
||
33 | "build:front": "npm run js:admin && npm run js:users && npm run js:engine && npm run sass", |
||
34 | "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", |
||
35 | "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", |
||
36 | "distribute": "npm run build:front && npm run compile && npm run mvasset", |
||
37 | "watchdev": "npm run build:front && npm run compile && npm run mvasset && nodemon --debug --exec npm run compile && npm run mvasset --kill-others", |
||
38 | "startdev": "npm run build:front && npm run compile && npm run mvasset && node src/tasks/nodemon.js & npm run watch --kill-others", |
||
39 | "startdevOnly": "npm run js:admin && npm run js:users && npm run js:engine && node src/tasks/nodemon.js & npm run watch --kill-others" |
||
0 ignored issues
–
show
introduced
by
Loading history...
|
|||
40 | }, |
||
41 | "author": "Gregory Besson", |
||
42 | "license": "MIT", |
||
43 | "contributors": [ |
||
44 | { |
||
45 | "name": "Gregory Besson", |
||
46 | "url": "https://github.com/gregorybesson" |
||
47 | }, |
||
48 | { |
||
49 | "name": "Fabrice Labbe", |
||
50 | "url": "https://github.com/wonknu" |
||
51 | }, |
||
52 | { |
||
53 | "name": "Nicolas Labbe", |
||
54 | "url": "https://github.com/nicolaslabbe" |
||
55 | }, |
||
56 | { |
||
57 | "name": "Olivier Pompilius", |
||
58 | "url": "https://github.com/opompilius" |
||
59 | } |
||
60 | ], |
||
61 | "preferGlobal": true, |
||
62 | "bin": { |
||
63 | "abe": "dist/index.js" |
||
64 | }, |
||
65 | "dependencies": { |
||
66 | "ajax-request": "^1.2.1", |
||
67 | "bcrypt-nodejs": "0.0.3", |
||
68 | "bluebird": "^3.4.6", |
||
69 | "body-parser": "^1.17.1", |
||
70 | "child-process-promise": "^2.1.3", |
||
71 | "cli-color": "^1.1.0", |
||
72 | "commander": "^2.9.0", |
||
73 | "connect-busboy": "0.0.2", |
||
74 | "connect-flash": "^0.1.1", |
||
75 | "cookie-parser": "^1.4.1", |
||
76 | "cookies": "^0.6.2", |
||
77 | "csurf": "^1.8.3", |
||
78 | "debug": "^2.6.0", |
||
79 | "deepmerge": "^1.3.2", |
||
80 | "dir-compare": "^1.2.0", |
||
81 | "dragula": "^3.7.2", |
||
82 | "express": "^4.15.2", |
||
83 | "express-handlebars": "^3.0.0", |
||
84 | "express-secure-handlebars": "^2.1.0", |
||
85 | "express-session": "^1.13.0", |
||
86 | "express-validator": "^3.2.1", |
||
87 | "extend": "^3.0.0", |
||
88 | "extract-zip": "^1.6.0", |
||
89 | "fs-compare": "0.0.4", |
||
90 | "fs-extra": "^2.0.0", |
||
91 | "handlebars": "^4.0.3", |
||
92 | "handlebars-helper-slugify": "^0.3.2", |
||
93 | "handlebars-helpers": "^0.8.0", |
||
94 | "handlebars-intl": "^1.1.1", |
||
95 | "helmet": "^3.1.0", |
||
96 | "helper-markdown": "^0.2.1", |
||
97 | "html-minifier": "^3.1.0", |
||
98 | "https": "^1.0.0", |
||
99 | "inquirer": "^3.0.6", |
||
100 | "jimp": "^0.2.27", |
||
101 | "jwt-simple": "^0.5.1", |
||
102 | "limax": "^1.4.0", |
||
103 | "lodash": "^4.17.4", |
||
104 | "mkdirp": "^0.5.1", |
||
105 | "moment": "^2.15.2", |
||
106 | "nanoajax": "^0.4.0", |
||
107 | "node-dev": "^3.1.3", |
||
108 | "node-sqlparser": "^1.0.2", |
||
109 | "nodemailer": "^2.6.4", |
||
110 | "nodemailer-mailgun-transport": "^1.2.4", |
||
111 | "nodemailer-mandrill-transport": "^1.2.0", |
||
112 | "nodemailer-sendgrid-transport": "^0.2.0", |
||
113 | "oauth2orize": "^1.7.0", |
||
114 | "on": "^1.3.0", |
||
115 | "openurl": "^1.1.0", |
||
116 | "owasp-password-strength-test": "^1.3.0", |
||
117 | "passport": "^0.3.2", |
||
118 | "passport-http": "^0.3.0", |
||
119 | "passport-http-bearer": "^1.0.1", |
||
120 | "passport-local": "^1.0.0", |
||
121 | "passport-oauth2-client-password": "^0.1.2", |
||
122 | "prettyjson": "^1.1.3", |
||
123 | "prompt": "^1.0.0", |
||
124 | "qs": "^6.0.1", |
||
125 | "ratelimiter": "^2.2.0", |
||
126 | "redis": "^2.6.0-1", |
||
127 | "request": "^2.69.0", |
||
128 | "smartcrop-cli": "^1.0.2", |
||
129 | "smtp-server": "^1.17.0", |
||
130 | "striptags": "^2.2.1", |
||
131 | "surge": "^0.19.0", |
||
132 | "tiny-lr": "^1.0.4", |
||
133 | "uuid": "^3.0.0", |
||
134 | "watch": "^1.0.1", |
||
135 | "which": "^1.2.11", |
||
136 | "xss": "^0.3.2" |
||
137 | }, |
||
138 | "devDependencies": { |
||
139 | "babel-cli": "^6.24.1", |
||
140 | "babel-code-frame": "^6.22.0", |
||
141 | "babel-polyfill": "^6.23.0", |
||
142 | "babel-preset-es2015": "^6.9.0", |
||
143 | "babel-preset-stage-0": "^6.3.13", |
||
144 | "babel-register": "^6.16.3", |
||
145 | "babelify": "^7.2.0", |
||
146 | "browserify": "^14.0.0", |
||
147 | "chai": "^3.5.0", |
||
148 | "coveralls": "^2.11.14", |
||
149 | "diff": "^3.3.0", |
||
150 | "eslint": "^3.6.0", |
||
151 | "eslint-plugin-prettier": "^2.1.2", |
||
152 | "esutils": "^2.0.2", |
||
153 | "graceful-fs": "^4.1.11", |
||
154 | "inflight": "^1.0.6", |
||
155 | "inherits": "^2.0.3", |
||
156 | "invariant": "^2.2.2", |
||
157 | "istanbul": "^1.1.0-alpha.1", |
||
158 | "jsesc": "^2.5.1", |
||
159 | "json5": "^0.5.1", |
||
160 | "mkpath": "^1.0.0", |
||
161 | "mocha": "^3.0.2", |
||
162 | "nightwatch": "^0.9.16", |
||
163 | "node-sass": "^4.3.0", |
||
164 | "nodemon": "^1.8.1", |
||
165 | "once": "^1.4.0", |
||
166 | "parallelshell": "^2.0.0", |
||
167 | "prettier": "^1.5.3", |
||
168 | "q": "^1.5.0", |
||
169 | "selenium-download": "^2.0.10", |
||
170 | "sinon": "^1.17.6", |
||
171 | "sinon-chai": "^2.8.0", |
||
172 | "source-map": "^0.5.6", |
||
173 | "watchify": "^3.4.0", |
||
174 | "wrappy": "^1.0.2" |
||
175 | } |
||
176 | } |
||
177 |