-
- Downloads
initial npm setup
parents
No related branches found
No related tags found
Showing
- .eslintrc 20 additions, 0 deletions.eslintrc
- .gitignore 2 additions, 0 deletions.gitignore
- .stylelintrc 8 additions, 0 deletions.stylelintrc
- package.json 53 additions, 0 deletionspackage.json
- posthtml.json 11 additions, 0 deletionsposthtml.json
- webpack.config.js 24 additions, 0 deletionswebpack.config.js
.eslintrc
0 → 100644
.gitignore
0 → 100644
.stylelintrc
0 → 100644
package.json
0 → 100644
{ | ||
"name": "customer", | ||
"version": "1.0.0", | ||
"description": "Customer Website", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified!\" && exit 1", | ||
"serve": "browser-sync start --server \"dist\" --files \"dist\"", | ||
"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": "run-p build:*", | ||
"watch:css": "onchange \"src/scss\" -- npm run build:css", | ||
"watch:js": "onchange \"src/js\" -- webpack --mode=development", | ||
"watch:html": "onchange \"src/views\" -- npm run build:html", | ||
"watch": "run-p serve watch:*" | ||
}, | ||
"author": "hanfi", | ||
"license": "ISC", | ||
"devDependencies": { | ||
"@babel/preset-env": "^7.22.2", | ||
"autoprefixer": "^10.4.14", | ||
"babel-loader": "^9.1.2", | ||
"browser-sync": "^2.29.3", | ||
"eslint": "^8.41.0", | ||
"eslint-webpack-plugin": "^4.0.1", | ||
"htmlnano": "^2.0.4", | ||
"node-sass": "^9.0.0", | ||
"npm-run-all": "^4.1.5", | ||
"onchange": "^7.1.0", | ||
"postcss-cli": "^10.1.0", | ||
"postcss-scss": "^4.0.6", | ||
"posthtml": "^0.16.6", | ||
"posthtml-cli": "^0.10.0", | ||
"posthtml-modules": "^0.9.1", | ||
"stylelint": "^15.6.2", | ||
"webpack": "^5.84.1", | ||
"webpack-cli": "^5.1.1" | ||
}, | ||
"dependencies": { | ||
"@noble/curves": "^1.0.0", | ||
"buffer": "^6.0.3", | ||
"js-beautify": "^1.14.7", | ||
"nunjucks": "^3.2.4", | ||
"qr-image": "^3.2.0", | ||
"qrcode": "^1.5.3", | ||
"stream": "^0.0.2", | ||
"zlib": "^1.0.5" | ||
} | ||
} |
posthtml.json
0 → 100644
webpack.config.js
0 → 100644
Please register or sign in to comment