-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
46 lines (46 loc) · 1.27 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
{
"name": "minimal-react",
"version": "1.0.0",
"description": "",
"browserify": {
"transform": [
[
"babelify",
{
"sourceMaps": true,
"sourceMapsAbsolute": true
}
]
]
},
"babel": {
"presets": [
"@babel/preset-react",
"@babel/preset-env"
]
},
"scripts": {
"build:css": "./node_modules/.bin/sass scss/main.scss build/main.css",
"build:cssmin": "./node_modules/.bin/sass -s compressed scss/main.scss build/main.css",
"build:js": "./node_modules/.bin/browserify js/main.js --debug -o build/main.js",
"build:jsmin": "./node_modules/.bin/browserify js/main.js -g uglifyify -o build/main.js",
"build": "npm run build:css && npm run build:js && echo built at `date +%H:%M:%S`",
"build:prod": "npm run build:cssmin && npm run build:jsmin",
"watch": "find js/ scss/ -name '*.js' -o -name '*.scss' | entr npm run --silent build"
},
"author": "",
"license": "ISC",
"dependencies": {
"react": "^16.7.0",
"react-dom": "^16.7.0"
},
"devDependencies": {
"@babel/core": "^7.2.2",
"@babel/preset-env": "^7.2.3",
"@babel/preset-react": "^7.0.0",
"babelify": "^10.0.0",
"browserify": "^16.2.3",
"sass": "^1.15.2",
"uglifyify": "^5.0.1"
}
}