-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpackage.json
58 lines (58 loc) · 2.41 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
{
"name": "browserify-demo",
"version": "1.0.1",
"description": "A working demo of CSS Modules using browserify",
"main": "index.js",
"scripts": {
"test": "npm run build",
"clean": "rm -rf dist && mkdir dist",
"browserify": "browserify -t [babelify --presets es2015 --presets react] -p [css-modulesify --before postcss-color-rebeccapurple --after autoprefixer --autoprefixer.browsers \"> 5%\" -o dist/main.css --json dist/css-modules.json] -o dist/index.js src/index.js",
"watchify": "watchify -v -t [babelify --presets es2015 --presets react] -p [css-modulesify --after postcss-color-rebeccapurple --after autoprefixer --autoprefixer.browsers \"> 5%\" -o dist/main.css] -o dist/index.js src/index.js",
"copy": "cp src/index.html dist/index.html && cp src/components/0-Logo/logo.svg dist/logo.svg",
"build-app": "monobrow -c monobrow/config.js",
"build": "npm run clean && npm run copy && npm run build-app",
"budo": "budo src/index.js:index.js --open --dir=dist -- -t [babelify --presets es2015 --presets react] -p [css-modulesify --after postcss-color-rebeccapurple --after autoprefixer --autoprefixer.browsers \"> 5%\" -o dist/main.css --json dist/css-modules.json] -o dist/index.js src/index.js",
"start": "npm run clean && npm run copy && npm run budo",
"deploy": "npm run build && gh-pages -d dist -m \"Updates --skip-ci\""
},
"repository": {
"type": "git",
"url": "https://github.com/css-modules/browserify-demo.git"
},
"author": "Josh Johnston",
"license": "MIT",
"bugs": {
"url": "https://github.com/css-modules/browserify-demo/issues"
},
"homepage": "https://github.com/css-modules/browserify-demo",
"devDependencies": {
"autoprefixer": "^6.0.3",
"babel-preset-es2015": "^6.18.0",
"babel-preset-react": "^6.16.0",
"babelify": "^7.3.0",
"brfs": "git://github.com/joshwnj/brfs#ignore-option",
"browserify": "^14.3.0",
"budo": "^9.3.0",
"css-modulesify": "^0.28.0",
"gh-pages": "^0.12.0",
"hyperscript": "^2.0.2",
"monobrow": "^2.9.1",
"postcss-color-rebeccapurple": "^2.0.0",
"postcss-modules-extract-imports": "^1.0.0",
"postcss-modules-local-by-default": "^1.0.0",
"postcss-modules-scope": "^1.0.0",
"react": "^15.4.1",
"react-dom": "^15.4.1",
"watchify": "^3.2.2"
},
"browserify": {
"transform": [
[
"brfs",
{
"ignore": "\\.(json|css)$"
}
]
]
}
}