-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
106 lines (106 loc) · 3.68 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
{
"name": "movie-recommendation",
"version": "1.0.0",
"author": "Blazing Edge",
"license": "GPL-3.0",
"dependencies": {
"babel-cli": "^6.26.0",
"babel-plugin-module-resolver": "^2.7.1",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-register": "^6.26.0",
"babelify": "^7.3.0",
"bcrypt": "^1.0.3",
"bluebird": "^3.5.0",
"body-parser": "^1.18.1",
"bootstrap": "^3.3.7",
"bootstrap-star-rating": "^4.0.2",
"browserify": "^14.5.0",
"clean-css-cli": "^4.1.9",
"dotenv-safe": "^4.0.4",
"express": "^4.16.2",
"express-promise-router": "^2.0.0",
"express-session": "^1.15.5",
"express-session-level": "^1.0.0",
"get-stream": "^3.0.0",
"got": "^7.1.0",
"hashmark": "^5.0.0",
"joi": "^11.4.0",
"jquery": "^3.2.1",
"level": "^1.7.0",
"level-promise": "^2.1.1",
"lodash": "^4.17.4",
"mkdirp": "^0.5.1",
"ncp": "^2.0.0",
"normalize.css": "^7.0.0",
"npm-run-all": "^4.1.2",
"postcss": "^6.0.14",
"postcss-browser-reporter": "^0.5.0",
"postcss-cli": "^4.1.1",
"postcss-color-function": "^4.0.1",
"postcss-conditionals": "^2.1.0",
"postcss-cssnext": "^3.0.2",
"postcss-current-selector": "^0.0.3",
"postcss-custom-media": "^6.0.0",
"postcss-each": "^0.10.0",
"postcss-easy-import": "^3.0.0",
"postcss-nested": "^2.1.2",
"postcss-nested-ancestors": "^1.0.0",
"postcss-reporter": "^5.0.0",
"postcss-simple-vars": "^4.1.0",
"postcss-size": "^2.0.0",
"postcss-url": "^7.2.1",
"pug": "^2.0.0-rc.4",
"rucksack-css": "^1.0.2",
"subleveldown": "^2.1.0",
"sugarss": "^1.0.1",
"uglify-es": "^3.1.10"
},
"devDependencies": {
"connect-livereload": "^0.6.0",
"eslint": "^4.11.0",
"eslint-config-standard": "^10.2.1",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-node": "^5.2.1",
"eslint-plugin-promise": "^3.6.0",
"eslint-plugin-standard": "^3.0.1",
"livereload": "^0.6.3",
"nodemon": "^1.12.1",
"rimraf": "^2.6.2",
"stylelint": "^8.1.1",
"stylelint-config-standard": "^17.0.0",
"watch": "^1.0.2",
"watchify": "^3.9.0"
},
"engines": {
"node": "8",
"npm": "5"
},
"pugify": {
"pretty": false,
"compileDebug": false
},
"scripts": {
"lint:check": "eslint .",
"lint:fix": "eslint --fix .",
"stylelint:check": "stylelint **/*.css **/*.sss",
"stylelint:fix": "stylelint --fix **/*.css **/*.sss",
"clean": "rimraf dist/ asset.json",
"mkdirs": "mkdirp dist/ dist/font/",
"prebuild": "run-p -s mkdirs",
"build": "run-p -s build:script build:style copy",
"build:script": "browserify -t babelify -e client/script/index.js | uglifyjs -c -m | hashmark -s -n dist/main.js -l 8 -m asset.json dist/{hash}{ext}",
"build:style": "postcss client/style/index.sss | cleancss -O1 specialComments:0 --inline all | hashmark -s -n dist/main.css -l 8 -m asset.json dist/{hash}{ext}",
"copy": "run-p -s copy:glyph",
"copy:glyph": "ncp node_modules/bootstrap/dist/fonts/ dist/font/",
"predev": "run-s -s clean mkdirs",
"dev": "run-p -s dev:script dev:style dev:server dev:copy",
"dev:copy": "run-p -s dev:copy:glyph",
"dev:copy:glyph": "watch 'run-p -s copy:glyph' node_modules/bootstrap/dist/fonts/ --wait=1 &> /dev/null",
"dev:script": "watchify -d -t babelify -e client/script/index.js -o dist/main.js",
"dev:style": "postcss client/style/index.sss -o dist/main.css -m -w",
"dev:server": "nodemon -q -I -e js,json -i package.json -i client -i dist -- -r babel-register index.js",
"sync": "node -r babel-register -r ./env sync.js",
"seed": "node -r babel-register -r ./env seed.js"
}
}