-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
48 lines (48 loc) · 1.99 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
{
"name": "contriboot-2017",
"version": "0.0.1",
"description": "Contributions & Interests",
"scripts": {
"start": "parallelshell 'npm run watch' 'http-server -o'",
"watch": "npm run clean && parallelshell 'npm run watch:css' 'npm run watch:js'",
"watch:js": "watchify -v -t [ babelify --presets [ es2015 react ] ] assets/scripts/main.jsx -o static/main.js ",
"watch:css": "stylus --inline --watch --sourcemap-inline -u autoprefixer-stylus assets/styles/main.styl -o static",
"watch:images": "npm run build:images && watch-run -p 'assets/images/*' npm run build:images",
"clean": "rm -rf static && mkdir static",
"clean:images": "rm -rf static/images && mkdir static/images",
"test": "npm run lint && npm run build",
"lint": "eslint ./assets/scripts",
"copy:dist": "rm -rf build && mkdir -p build && cp index.html build && cp -r static build",
"build": "npm run clean && npm run build:css && npm run build:js && npm run copy:dist",
"build:js": "browserify assets/scripts/main.jsx -t [ babelify --presets [ es2015 react ] ] | uglifyjs > static/main.js",
"build:css": "stylus --inline --compress -u autoprefixer-stylus assets/styles/main.styl -o static",
"build:images": "npm run clean:images && cp -r assets/images/* static/images/"
},
"author": "",
"license": "ISC",
"devDependencies": {
"autoprefixer-stylus": "^0.13.0",
"babel": "^6.3.13",
"babel-preset-es2015": "^6.3.13",
"babel-preset-react": "^6.5.0",
"babelify": "^7.2.0",
"browserify": "^14.1.0",
"eslint": "^3.16.1",
"firebase": "^3.6.10",
"http-server": "^0.9.0",
"marked": "^0.3.5",
"parallelshell": "^2.0.0",
"react": "^15.4.2",
"react-dom": "^15.4.2",
"react-markdown": "^2.1.1",
"react-medium-editor": "^1.6.3",
"react-spinner": "^0.2.3",
"reactfire": "^1.0.0",
"stylus": "^0.54.5",
"stylus-normalize": "^3.0.3",
"to-markdown": "^3.0.3",
"uglify-js": "^2.4.23",
"watch-run": "^1.2.2",
"watchify": "^3.2.3"
}
}