-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
90 lines (90 loc) · 4 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
{
"name": "karet-express-boilerplate",
"version": "1.0.0",
"private": true,
"description": "Sample with boilerplate for a Karet + Express web app",
"main": "src/server/start.js",
"scripts": {
"bundle": "concurrently \"npm run bundle:css\" \"npm run bundle:js\"",
"bundle:css": "sh -c \"lessc --clean-css src/_.less public/generated/bundle.css\"",
"bundle:css:watch": "sh -c \"lessc --source-map --source-map-rootpath=\\\"file://$(pwd)/src\\\" src/_.less public/generated/bundle.css\"",
"bundle:js": "sh -c \"rm -f public/generated/bundle.js && npm run bundle:js-polyfill && npm run bundle:js-helpers && npm run bundle:js-app\"",
"bundle:js-app": "sh -c \"NODE_ENV=production rollup -f iife -c -i src/public/client.js >> public/generated/bundle.js\"",
"bundle:js-helpers": "sh -c \"cat generated/babel-external-helpers.js >> public/generated/bundle.js\"",
"bundle:js-polyfill": "sh -c \"cat node_modules/babel-polyfill/dist/polyfill.min.js >> public/generated/bundle.js\"",
"external-helpers": "sh -c \"babel-external-helpers | uglifyjs --compress 'passes=3,hoist_funs=true,pure_getters=true' --mangle > generated/babel-external-helpers.js\"",
"lint": "eslint .",
"livereload:public": "livereload public",
"migrate": "node ./scripts/migrate",
"prepare": "sh -c \"mkdir -p public/generated generated && npm run external-helpers && npm run bundle && npm run test\"",
"start": "sh -c \"npm run migrate max && node $NODE_OPTS src/server/start.js\"",
"test": "sh -c \"npm run lint && NO_USERAGENT=1 mocha --exit --require ./src/server/babel-setup.js -t 4000\"",
"watch": "concurrently \"npm run watch:css\" \"npm run watch:server\" \"npm run watch:js\" \"npm run livereload:public\"",
"watch:css": "sh -c \"npm run bundle:css:watch && watch-run -p 'src/**/*.less' 'npm run bundle:css:watch'\"",
"watch:js": "sh -c \"NODE_ENV=development rollup -w -c --sourcemap inline -i src/public/client.js -f iife -o public/generated/bundle.js\"",
"watch:server": "sh -c \"NODE_ENV=development nodemon -e js --watch src/server --watch 'src/**/app.js' src/server/start.js\""
},
"license": "MIT",
"dependencies": {
"atom.storage": "^0.5.5",
"babel-cli": "^6.26.0",
"babel-eslint": "^8.2.6",
"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
"babel-plugin-transform-react-constant-elements": "^6.23.0",
"babel-polyfill": "^6.26.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-es2015-rollup": "^3.0.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-3": "^6.24.1",
"babel-register": "^6.26.0",
"bluebird": "^3.5.1",
"body-parser": "^1.18.3",
"compression": "^1.7.3",
"concurrently": "^3.6.1",
"cookie-parser": "^1.4.3",
"express": "^4.16.3",
"karet": "^4.0.0",
"karet.util": "^0.18.26",
"kefir": "^3.8.3",
"kefir.atom": "^5.5.1",
"kefir.partial.lenses": "^14.0.0",
"kefir.ramda": "^0.25.5",
"less": "^3.8.1",
"less-plugin-clean-css": "^1.5.1",
"node-postgres-named": "^2.4.1",
"partial.lenses": "^14.0.0",
"partial.lenses.validation": "^2.0.0",
"path-to-regexp": "^2.2.1",
"pg": "^7.4.3",
"postcss-cli": "^6.0.0",
"postgrator": "^3.6.0",
"ramda": "^0.25.0",
"react": "^16.4.2",
"react-dom": "^16.4.2",
"rollup": "^0.64.1",
"rollup-plugin-babel": "^3.0.7",
"rollup-plugin-commonjs": "^9.1.5",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-globals": "^1.2.1",
"rollup-plugin-node-resolve": "^3.3.0",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-uglify": "^4.0.0",
"rollup-watch": "^4.3.1",
"serve-static": "^1.13.2",
"smoothscroll": "^0.4.0"
},
"devDependencies": {
"eslint": "^5.3.0",
"eslint-plugin-babel": "^5.1.0",
"eslint-plugin-react": "^7.11.0",
"livereload": "^0.7.0",
"mocha": "^5.2.0",
"nodemon": "^1.18.3",
"watch-run": "^1.2.5",
"zombie": "^6.1.3"
},
"engines": {
"node": "8.x"
}
}