Add some dependencies for JS development

This commit is contained in:
Thomas Dehaeze 2020-11-26 11:00:27 +01:00
parent cbc60e91ef
commit 288dcf925f
2 changed files with 4182 additions and 4 deletions

4170
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -5,16 +5,24 @@
"main": "index.js",
"scripts": {
"scss": "node-sass --output-style compressed -o dist/ scss",
"serve": "browser-sync start --server --files 'dist/*.css, index.html'",
"serve": "browser-sync start --server --files 'dist/*.css, dist/*.js, index.html'",
"watch:js": "watchify -t babelify js/script.js -o dist/script.js",
"watch:css": "onchange 'scss' -- npm run scss",
"start": "run-p serve watch:css"
"start": "run-p serve watch:css watch:js"
},
"author": "Dehaeze Thomas",
"license": "MIT",
"devDependencies": {
"@babel/cli": "^7.12.8",
"@babel/core": "^7.12.9",
"@babel/preset-env": "^7.12.7",
"babelify": "^10.0.0",
"browser-sync": "^2.26.13",
"browserify": "^17.0.0",
"node-sass": "^5.0.0",
"npm-run-all": "^4.1.5",
"onchange": "^7.1.0"
}
"onchange": "^7.1.0",
"watchify": "^3.11.1"
},
"dependencies": {}
}