2018-09-28 19:20:15 +00:00
|
|
|
{
|
2019-05-14 12:03:11 +00:00
|
|
|
"name": "sib-app",
|
2018-09-28 19:20:15 +00:00
|
|
|
"version": "1.0.0",
|
2019-05-14 12:03:11 +00:00
|
|
|
"license": "MIT",
|
|
|
|
"scripts": {
|
2019-11-16 17:10:05 +00:00
|
|
|
"build": "run-p copy:* build:*",
|
2019-12-02 14:22:25 +00:00
|
|
|
"build:css": "node-sass src/styles/index.scss -o dist/styles/",
|
2019-11-16 17:10:05 +00:00
|
|
|
"build:js": "babel 'src/scripts/*.js' -o dist/scripts/index.js",
|
2019-11-14 16:59:57 +00:00
|
|
|
"build:html": "pug src/index.pug -o dist/ --obj config.json",
|
2019-11-16 17:10:05 +00:00
|
|
|
"copy:font": "copyfiles -f src/fonts/* dist/fonts",
|
|
|
|
"copy:image": "copyfiles -f src/images/* dist/images",
|
2019-11-14 16:59:57 +00:00
|
|
|
"serve": "serve -l 3000 dist/",
|
2019-11-16 17:10:05 +00:00
|
|
|
"watch": "run-p copy:* watch:* serve",
|
2019-12-02 14:22:25 +00:00
|
|
|
"watch:css": "npm run build:css && npm run build:css -- -w",
|
2019-11-16 17:10:05 +00:00
|
|
|
"watch:js": "babel --watch 'src/scripts/*.js' -o dist/scripts/index.js",
|
2019-11-14 16:59:57 +00:00
|
|
|
"watch:pug": "pug --watch src/index.pug -o dist/ --obj config.json"
|
2018-09-28 19:20:15 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2019-11-14 16:34:37 +00:00
|
|
|
"@babel/cli": "^7.7.0",
|
|
|
|
"@babel/core": "^7.7.0",
|
2019-11-16 17:10:05 +00:00
|
|
|
"copyfiles": "^2.1.1",
|
2019-11-14 16:34:37 +00:00
|
|
|
"include-media": "^1.4.9",
|
2019-11-03 16:22:37 +00:00
|
|
|
"node-sass": "^4.13.0",
|
2019-11-14 16:34:37 +00:00
|
|
|
"normalize.css": "^8.0.1",
|
|
|
|
"npm-run-all": "^4.1.5",
|
2019-11-03 17:28:36 +00:00
|
|
|
"pug": "^2.0.4",
|
2019-11-14 16:59:57 +00:00
|
|
|
"pug-cli": "^1.0.0-alpha6",
|
|
|
|
"serve": "^11.2.0"
|
2018-09-28 19:20:15 +00:00
|
|
|
}
|
|
|
|
}
|