75 lines
1.7 KiB
JSON
75 lines
1.7 KiB
JSON
{
|
|
"name": "hubl",
|
|
"version": "1.0.0",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://git.startinblox.com/applications/hubl.git"
|
|
},
|
|
"scripts": {
|
|
"prebuild": "rimraf build",
|
|
"build": "cross-env NODE_ENV='production' node internal/parcel.js",
|
|
"watch": "rimraf build .cache && node internal/parcel.js",
|
|
"cypress:open": "cypress open",
|
|
"cypress:verify": "cypress verify",
|
|
"cypress:info": "cypress info",
|
|
"test": "cypress run"
|
|
},
|
|
"browserslist": [
|
|
"last 2 Chrome versions"
|
|
],
|
|
"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"
|
|
]
|
|
},
|
|
"cache": {
|
|
"strategy": "inject",
|
|
"swSrc": "./src/service-worker.js",
|
|
"swDest": "service-worker.js",
|
|
"globPatterns": [
|
|
"**/*.{html,js,map,css,jpg,png,gif,webp,svg,eot,ttf,woff,woff2,json}"
|
|
],
|
|
"clearDist": false
|
|
},
|
|
"dependencies": {
|
|
"@startinblox/hubl-styling-framework": "^1.8.22",
|
|
"cross-env": "^7.0.3",
|
|
"fs-extra": "^9.0.1",
|
|
"normalize.css": "^8.0.1",
|
|
"parcel-bundler": "^1.12.5",
|
|
"parcel-plugin-sw-cache": "^0.3.1",
|
|
"pug": "^3.0.0",
|
|
"rimraf": "^2.7.1",
|
|
"sass": "^1.29.0"
|
|
},
|
|
"devDependencies": {
|
|
"cypress": "^5.6.0",
|
|
"cypress-localstorage-commands": "^1.2.4"
|
|
}
|
|
}
|