Skip to content
Snippets Groups Projects
Verified Commit f90291dd authored by hanfi's avatar hanfi
Browse files

add static src

parent c77834ef
Branches
No related tags found
No related merge requests found
......@@ -5,13 +5,14 @@
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified!\" && exit 1",
"serve": "browser-sync start --server \"dist\" --files \"dist\"",
"serve": "browser-sync start --server \"dist\" --files \"dist\" --port 3002 --ui-port 3003",
"css:scss": "node-sass --output-style compressed -o dist src/scss",
"css:autoprefixer": "postcss -u autoprefixer -r dist/*.css",
"css:lint": "stylelint src/scss/*.scss --custom-syntax postcss-scss",
"build:css": "npm run css:lint && npm run css:scss && npm run css:autoprefixer",
"build:js": "webpack --mode=production",
"build:html": "posthtml -c posthtml.json",
"build:static": "cp -r ./src/static/* ./dist",
"build": "run-p build:*",
"watch:css": "onchange \"src/scss\" -- npm run build:css",
"watch:js": "onchange \"src/js\" -- webpack --mode=development",
......
Source diff could not be displayed: it is too large. Options to address this: view the blob.
This diff is collapsed.
This diff is collapsed.
File added
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment