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",
|
2020-04-03 18:02:49 +00:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://git.startinblox.com/applications/sib-app.git"
|
|
|
|
},
|
2019-05-14 12:03:11 +00:00
|
|
|
"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",
|
2020-04-03 12:25:32 +00:00
|
|
|
"serve": "pushstate-server -d ./dist -p 3000",
|
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",
|
2020-02-04 11:25:58 +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
|
|
|
},
|
2020-04-03 18:02:49 +00:00
|
|
|
"release": {
|
|
|
|
"branches": [
|
|
|
|
"master"
|
|
|
|
],
|
|
|
|
"plugins": [
|
|
|
|
[
|
|
|
|
"@semantic-release/commit-analyzer",
|
|
|
|
{
|
|
|
|
"preset": "angular",
|
|
|
|
"releaseRules": [
|
|
|
|
{
|
|
|
|
"type": "major",
|
|
|
|
"release": "major"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "minor",
|
|
|
|
"release": "minor"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "*",
|
|
|
|
"release": "patch"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"@semantic-release/release-notes-generator",
|
|
|
|
"@semantic-release/gitlab"
|
|
|
|
]
|
|
|
|
},
|
2018-09-28 19:20:15 +00:00
|
|
|
"dependencies": {
|
2020-02-10 12:22:20 +00:00
|
|
|
"@babel/cli": "^7.7.0",
|
|
|
|
"@babel/core": "^7.7.0",
|
|
|
|
"copyfiles": "^2.1.1",
|
2019-11-14 16:34:37 +00:00
|
|
|
"include-media": "^1.4.9",
|
2020-02-10 12:22:20 +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",
|
2020-04-03 12:25:32 +00:00
|
|
|
"pushstate-server": "^3.1.0"
|
2018-09-28 19:20:15 +00:00
|
|
|
}
|
|
|
|
}
|