hubl/package.json

28 lines
878 B
JSON

{
"name": "sib-app",
"version": "1.0.0",
"license": "MIT",
"scripts": {
"build": "run-p build:*",
"build:css": "node-sass ./src/styles/_index.scss dist/styles.css",
"build:js": "babel 'src/scripts/*.js' -o dist/app.js",
"build:html": "pug src/index.pug -o dist/ --obj config.json",
"serve": "serve -l 3000 dist/",
"watch": "run-p watch:* serve",
"watch:css": "node-sass --watch ./src/styles/_index.scss dist/styles.cs",
"watch:js": "babel --watch 'src/scripts/*.js' -o dist/app.js",
"watch:pug": "pug --watch src/index.pug -o dist/ --obj config.json"
},
"dependencies": {
"@babel/cli": "^7.7.0",
"@babel/core": "^7.7.0",
"include-media": "^1.4.9",
"node-sass": "^4.13.0",
"normalize.css": "^8.0.1",
"npm-run-all": "^4.1.5",
"pug": "^2.0.4",
"pug-cli": "^1.0.0-alpha6",
"serve": "^11.2.0"
}
}