hubl/package.json
2019-11-16 18:10:05 +01:00

31 lines
1.0 KiB
JSON

{
"name": "sib-app",
"version": "1.0.0",
"license": "MIT",
"scripts": {
"build": "run-p copy:* build:*",
"build:css": "node-sass ./src/styles/_index.scss dist/styles/index.css",
"build:js": "babel 'src/scripts/*.js' -o dist/scripts/index.js",
"build:html": "pug src/index.pug -o dist/ --obj config.json",
"copy:font": "copyfiles -f src/fonts/* dist/fonts",
"copy:image": "copyfiles -f src/images/* dist/images",
"serve": "serve -l 3000 dist/",
"watch": "run-p copy:* watch:* serve",
"watch:css": "node-sass --watch ./src/styles/_index.scss dist/styles/index.css",
"watch:js": "babel --watch 'src/scripts/*.js' -o dist/scripts/index.js",
"watch:pug": "pug --watch src/index.pug -o dist/ --obj config.json"
},
"dependencies": {
"@babel/cli": "^7.7.0",
"@babel/core": "^7.7.0",
"copyfiles": "^2.1.1",
"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"
}
}