-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
89 lines (89 loc) · 3.24 KB
/
package.json
File metadata and controls
89 lines (89 loc) · 3.24 KB
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
{
"name": "designopen-board",
"version": "0.0.0",
"description": "",
"repository": {
"type": "git",
"url": "git://github.com/DesignOpen/board.git"
},
"main": "src/server.js",
"author": "",
"license": "Apache 2.0",
"engines": {
"node": "0.12.0"
},
"browser": {
"./src/services/post-service.js": "./src/frontend/scripts/services/post-service.jsx",
"./src/services/user-service.js": "./src/frontend/scripts/services/user-service.jsx"
},
"dependencies": {
"bluebird": "^2.9.12",
"body-parser": "1.11.0",
"compression": "^1.4.1",
"connect-mongo": "^0.8.0",
"cookie-parser": "1.3.3",
"ejs": "^2.2.4",
"errorhandler": "^1.3.3",
"eslint": "^0.17.1",
"express": "4.11.2",
"express-session": "1.10.2",
"flux": "^2.0.1",
"lodash": "^3.3.1",
"log4js": "^0.6.22",
"marked": "^0.3.3",
"medium-editor": "^4.5.2",
"medium-editor-markdown": "git://github.com/kimmobrunfeldt/medium-editor-markdown",
"moment": "^2.9.0",
"mongoose": "3.8.22",
"mongoose-lean": "^1.0.0",
"node-jsx": "^0.12.4",
"passport": "^0.2.1",
"passport-github": "^0.1.5",
"react": "^0.13.1",
"react-onclickoutside": "^0.2.3",
"react-router": "^0.13.2",
"react-select": "^0.4.6",
"superagent": "^0.21.0",
"to-markdown": "^1.0.0-rc.7"
},
"devDependencies": {
"autoprefixer": "^5.1.0",
"browserify": "^8.1.3",
"clean-css": "^3.1.5",
"db-migrate": "^0.9.14",
"eslint-plugin-react": "^1.6.1",
"esprima-fb": "~13001.1.0-dev-harmony-fb",
"jscs": "jscs-dev/node-jscs#master",
"jsxhint": "STRML/JSXHint#master",
"node-inspector": "^0.8.3",
"nodemon": "^1.3.7",
"reactify": "^1.0.0",
"stylus": "^0.50.0",
"uglify-js": "^2.4.16",
"watch": "^0.14.0",
"watchify": "^2.3.0"
},
"scripts": {
"test": "npm run lint-js",
"postinstall": "npm run build && ./node_modules/db-migrate/bin/db-migrate up",
"tmux": "./tools/tmux.sh",
"start": "source ./local-env.sh && nodemon --watch ./src -e js,jsx src/server.js",
"start-production": "node src/server.js",
"debug-server": "source ./local-env.sh && node-debug --debug-brk=0 src/server.js",
"build": "npm run build-js && npm run build-styles",
"build-js": "NODE_ENV=production browserify src/frontend/scripts/main.jsx -t reactify -o public/bundle.js && npm run minify-js",
"build-styles": "npm run build-stylus && npm run autoprefixer && npm run minify-css",
"build-styles-dev": "npm run build-stylus && npm run autoprefixer",
"build-stylus": "stylus --include-css -o public/bundle.css src/frontend/styles/main.styl",
"watch": "npm run watch-js & npm run watch-styles",
"watch-js": "watchify src/frontend/scripts/main.jsx -d -v -t reactify -o public/bundle.js",
"watch-styles": "watch 'npm run build-styles-dev' src/frontend/styles/",
"autoprefixer": "autoprefixer public/bundle.css",
"minify-js": "uglifyjs public/bundle.js -o public/bundle.js",
"minify-css": "cleancss --skip-aggressive-merging --skip-restructuring public/bundle.css -o public/bundle.css",
"lint-js": "npm run jscs && npm run eslint",
"jscs": "jscs --esprima=esprima-fb ./src",
"jsxhint": "jsxhint './src/**/*'",
"eslint": "eslint --ext .js,.jsx ./src"
}
}