-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
86 lines (86 loc) · 3.61 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
{
"name": "youpin-web",
"version": "0.1.1",
"description": "YouPin on the web",
"main": "index.js",
"scripts": {
"start": "bin/local_start",
"stop": "bin/local_stop",
"build:css": "echo '=> build:css' && node-sass --source-map true --output-style compressed -o public/css/ assets/css/",
"watch:css": "node-sass --source-map true --output-style expanded --watch --recursive -o public/css/ assets/css/",
"prebuild:js": "mkdir -p public/js",
"build:js": "echo '=> build:js' && browserify assets/js/main.js --debug -t [ babelify ] | exorcist public/js/main.js.map > public/js/main.js && browserify assets/js/dep.js --debug -t [ babelify ] | exorcist public/js/dep.js.map > public/js/dep.js",
"postbuild:js": "uglifyjs public/js/main.js -c -m -o public/js/main.min.js && uglifyjs public/js/dep.js -c -m -o public/js/dep.min.js",
"prewatch:js": "mkdir -p public/js",
"watch:js": "parallelshell \"watchify assets/js/main.js --debug --verbose -t [ babelify ] -o 'exorcist public/js/main.js.map > public/js/main.js'\" \"watchify assets/js/dep.js --debug --verbose -t [ babelify ] -o 'exorcist public/js/dep.js.map > public/js/dep.js'\"",
"build:tag": "echo '=> build:tag' && riot --template pug --style scss assets/templates/ public/js/tag.build.js && babel public/js/tag.build.js --compact false -o public/js/tag.js && uglifyjs public/js/tag.js -c -m -o public/js/tag.min.js && rm -f public/js/tag.build.js",
"watch:tag": "touch public/js/tag.build.js && parallelshell \"riot --template pug --style scss --watch assets/templates/ public/js/tag.build.js\" \"babel public/js/tag.build.js --compact false --watch -o public/js/tag.js\"",
"build": "echo '=> building...' && npm run build:tag -s && npm run build:css -s && npm run build:js -s",
"watch": "parallelshell 'npm run watch:tag -s' 'npm run watch:css -s' 'npm run watch:js -s'",
"deploy:production": "pm2 deploy ecosystem.json production --force",
"test": "eslint ."
},
"repository": {
"type": "git",
"url": "git+https://github.com/youpin-city/youpin-web.git"
},
"author": "YouPin <youpin.city@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/youpin-city/youpin-web/issues"
},
"homepage": "https://github.com/youpin-city/youpin-web#readme",
"dependencies": {
"aws-sdk": "^2.4.2",
"bluebird": "^3.4.0",
"body-parser": "^1.15.1",
"connect-flash": "^0.1.1",
"convict": "^1.4.0",
"dotenv": "^2.0.0",
"express": "^4.14.0",
"express-session": "^1.13.0",
"express-useragent": "^0.2.4",
"lodash": "^4.14.1",
"mime-types": "^2.1.11",
"moment": "^2.13.0",
"multer": "^1.1.0",
"multer-s3": "^2.3.2",
"node-schedule": "^1.1.1",
"pug": "^2.0.0-beta3",
"riot": "^2.4.1",
"serve-favicon": "^2.3.0",
"string-saw": "0.0.24",
"superagent": "^2.0.0",
"superagent-bluebird-promise": "^3.0.2",
"winston": "^2.2.0"
},
"devDependencies": {
"babel-cli": "^6.10.1",
"babel-preset-es2015": "^6.9.0",
"babelify": "^7.3.0",
"browserify": "^13.0.1",
"chai": "^3.5.0",
"dropzone": "^4.3.0",
"eslint": "^2.9.0",
"eslint-config-airbnb": "^9.0.1",
"eslint-plugin-import": "^1.10.3",
"eslint-plugin-jsx-a11y": "^1.2.0",
"eslint-plugin-react": "^5.2.2",
"exif-js": "^2.1.1",
"exorcist": "^0.4.0",
"jquery": "^2.2.1",
"jquery-serializejson": "^2.6.2",
"leaflet": "^0.7.7",
"materialize-css": "^0.97.6",
"node-sass": "^3.7.0",
"parallelshell": "^2.0.0",
"slick-carousel": "^1.6.0",
"uglify-js": "^2.6.2",
"watchify": "^3.7.0"
},
"babel": {
"presets": [
"es2015"
]
}
}