hubl/package.json

88 lines
2.5 KiB
JSON
Raw Normal View History

2018-09-28 19:20:15 +00:00
{
2020-05-08 13:27:44 +00:00
"name": "hubl",
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",
2020-05-08 16:42:01 +00:00
"url": "https://git.startinblox.com/applications/hubl.git"
2020-04-03 18:02:49 +00:00
},
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/",
"build:js": "babel \"src/scripts/*.js\" -o dist/scripts/index.js",
"build:jscomponents": "babel \"src/components/*.js\" --out-dir dist/components/",
2019-11-14 16:59:57 +00:00
"build:html": "pug src/index.pug -o dist/ --obj config.json",
2020-10-20 14:31:30 +00:00
"build:i18n": "copyfiles -u 2 src/locales/*.json dist/locales",
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",
2020-10-20 14:31:30 +00:00
"watch": "run-p build watch:* serve",
"watch:css": "npm-watch build:css",
"watch:js": "npm-watch build:js",
"watch:jscomponents": "npm-watch build:jscomponents",
2020-05-19 13:13:30 +00:00
"watch:pug": "pug --watch src/index.pug -o dist/ --obj config.json",
2020-10-20 14:31:30 +00:00
"watch:i18n": "npm-watch build:i18n",
"watch:font": "npm-watch copy:font",
"watch:image": "npm-watch copy:image",
2020-05-19 13:13:30 +00:00
"cypress:open": "cypress open",
"cypress:verify": "cypress verify",
"cypress:info": "cypress info",
"test": "cypress run"
2018-09-28 19:20:15 +00:00
},
2020-10-20 14:31:30 +00:00
"watch": {
"build:css": "src/styles/*",
"build:i18n": "src/locales/*",
"copy:images": "src/fonts/*.js",
"copy:fonts": "src/images/*.js",
"build:js": "src/scripts/*.js",
"build:jscomponents": "src/components/*.js"
},
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",
2020-05-11 18:20:13 +00:00
"@babel/core": "^7.9.0",
2020-02-10 12:22:20 +00:00
"copyfiles": "^2.1.1",
2019-11-14 16:34:37 +00:00
"include-media": "^1.4.9",
2020-05-11 18:20:13 +00:00
"node-sass": "^4.14.0",
2019-11-14 16:34:37 +00:00
"normalize.css": "^8.0.1",
"npm-run-all": "^4.1.5",
"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"
2020-05-19 13:13:30 +00:00
},
"devDependencies": {
"cypress": "^4.5.0",
"cypress-localstorage-commands": "^1.2.1",
2020-10-20 14:31:30 +00:00
"cypress-terminal-report": "^1.2.1",
"npm-watch": "^0.7.0"
2018-09-28 19:20:15 +00:00
}
}