Update deps
This commit is contained in:
parent
4cd6238927
commit
5dd1c171b0
2 changed files with 282 additions and 248 deletions
10
package.json
10
package.json
|
|
@ -42,19 +42,19 @@
|
|||
},
|
||||
"scripts": {
|
||||
"start": "npm run watch:content && react-scripts start",
|
||||
"build":
|
||||
"npm run prepare-content && react-scripts build && npm run build:postcss && react-snapshot && npm run sw",
|
||||
"build": "npm run prepare-content && react-scripts build && npm run build:postcss && react-snapshot && npm run sw",
|
||||
"build:postcss": "postcss build/static/css/*.css -r",
|
||||
"parse-content": "node ./functions/parse-content.js",
|
||||
"resize-images": "node ./functions/resize-images.js",
|
||||
"prepare-content": "npm run parse-content && npm run resize-images",
|
||||
"watch:content":
|
||||
"chokidar 'content/**/**' -c 'npm run prepare-content' --initial",
|
||||
"watch:content": "chokidar 'content/**/**' -c 'npm run prepare-content' --initial",
|
||||
"sw": "sw-precache --config='sw-precache-config.js'",
|
||||
"test": "standard | snazzy && react-scripts test --env=jsdom",
|
||||
"eject": "react-scripts eject"
|
||||
},
|
||||
"reactSnapshot": {
|
||||
"include": ["/404"]
|
||||
"include": [
|
||||
"/404"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue