-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
91 lines (91 loc) · 3.09 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": "cliper-backend",
"version": "1.0.0",
"description": "A website to visit your clipers.",
"main": "index.js",
"scripts": {
"start_app": "./node_modules/.bin/nodemon index.js",
"production": "export NODE_ENV=production && npm run start_app",
"start": "npm run production",
"watch_dev": "./node_modules/webpack/bin/webpack.js --config config/webpack/webpack.dev.js -p --watch",
"build_dev": "./node_modules/webpack/bin/webpack.js --config config/webpack/webpack.dev.js -p",
"build_pro": "./node_modules/webpack/bin/webpack.js --config config/webpack/webpack.production.js -p",
"test": "echo \"Error: no test specified\" && exit 1",
"add_assets": "export NODE_ENV=production && npm run build_pro",
"deploy": "git pull origin master && npm run add_assets && npm run pm2",
"pm2": "NODE_ENV=production ./node_modules/.bin/pm2 start index.js -i 2 --name \"cliper\" --max-memory-restart 300M --merge-logs --log-date-format=\"YYYY-MM-DD HH:mm Z\" --output=\"log/production.log\"",
"pm2:restart": "NODE_ENV=production ./node_modules/.bin/pm2 restart \"cliper\"",
"pm2:stop": "NODE_ENV=production ./node_modules/.bin/pm2 stop \"cliper\"",
"pm2:logs": "NODE_ENV=production ./node_modules/.bin/pm2 logs \"cliper\""
},
"engines": {
"node": "5.9.1"
},
"author": "ecmadao",
"license": "ISC",
"keywords": [
"koa2",
"nodejs",
"react",
"webpack",
"redux"
],
"dependencies": {
"pm2": "^1.1.3",
"babel-core": "^6.14.0",
"babel-plugin-transform-async-to-generator": "^6.8.0",
"babel-plugin-transform-runtime": "^6.15.0",
"babel-polyfill": "^6.13.0",
"babel-preset-es2015": "^6.14.0",
"babel-preset-stage-0": "^6.5.0",
"babel-register": "^6.14.0",
"babel-runtime": "^6.11.6",
"classnames": "^2.2.5",
"config": "^1.21.0",
"http": "0.0.0",
"jquery": "^3.1.1",
"koa": "^2.0.0-alpha.7",
"koa-bodyparser": "^3.2.0",
"koa-convert": "^1.2.0",
"koa-csrf": "^3.0.3",
"koa-json": "^1.1.3",
"koa-logger": "^1.3.0",
"koa-onerror": "^2.0.0",
"koa-router": "^7.0.1",
"koa-session": "^3.3.1",
"koa-static": "^2.0.0",
"koa-views": "^5.1.2",
"leancloud-storage": "^1.5.0",
"nodemon": "^1.10.2",
"normalize.css": "^5.0.0",
"nprogress": "^0.2.0",
"nunjucks": "^2.5.2",
"react": "^15.3.2",
"react-dom": "^15.3.2",
"request": "^2.75.0"
},
"devDependencies": {
"autoprefixer": "^6.4.1",
"babel-loader": "^6.2.5",
"babel-preset-react": "^6.11.1",
"clean-webpack-plugin": "^0.1.10",
"css-loader": "^0.23.1",
"es6-promise": "^3.2.1",
"exports-loader": "^0.6.3",
"expose-loader": "^0.7.1",
"extract-text-webpack-plugin": "^1.0.1",
"file-loader": "^0.9.0",
"object-assign": "^4.1.0",
"postcss-cssnext": "^2.8.0",
"postcss-import": "^8.1.2",
"postcss-loader": "^0.9.1",
"postcss-reporter": "^1.4.1",
"style-loader": "^0.13.1",
"url-loader": "^0.5.7",
"webpack": "^1.13.1",
"webpack-manifest-plugin": "^1.0.1",
"react-redux": "^4.4.5",
"redux": "^3.5.2",
"redux-thunk": "^2.1.0"
}
}