{ "name": "hubl", "version": "1.0.0", "license": "MIT", "repository": { "type": "git", "url": "https://git.startinblox.com/applications/hubl.git" }, "scripts": { "build:interactions": "cp src/interactions.html dist", "build": "run-p copy:* build:*", "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/", "build:pug": "pug src/index.pug -o dist/ --obj config.json", "build:manifest": "node --experimental-modules make-webmanifest.mjs", "build:i18n": "copyfiles -u 2 src/locales/*.json dist/locales", "copy:font": "copyfiles -f src/fonts/* dist/fonts", "copy:image": "copyfiles -f src/images/* dist/images", "copy:sw": "copyfiles -f src/sw.js dist", "serve": "pushstate-server -d ./dist -p 3000", "watch:interactions": "npm-watch build:interactions", "watch": "run-p build watch:* serve", "watch:css": "npm-watch build:css", "watch:js": "npm-watch build:js", "watch:jscomponents": "npm-watch build:jscomponents", "watch:manifest": "npm-watch build:manifest", "watch:pug": "pug --watch src/index.pug -o dist/ --obj config.json", "watch:i18n": "npm-watch build:i18n", "watch:font": "npm-watch copy:font", "watch:image": "npm-watch copy:image", "watch:sw": "npm-watch copy:sw", "cypress:open": "cypress open", "cypress:verify": "cypress verify", "cypress:info": "cypress info", "test": "cypress run" }, "watch": { "build:interactions": "src/interactions.html", "build:css": "src/styles/**/*", "build:manifest": "make-webmanifest.mjs", "build:i18n": "src/locales/**/*", "copy:images": "src/fonts/*.js", "copy:fonts": "src/images/*.js", "copy:sw": "src/sw.js", "build:js": "src/scripts/*.js", "build:jscomponents": "src/components/*.js" }, "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" ] }, "dependencies": { "@babel/cli": "^7.7.0", "@babel/core": "^7.9.0", "copyfiles": "^2.1.1", "include-media": "^1.4.9", "node-sass": "^4.14.0", "normalize.css": "^8.0.1", "npm-run-all": "^4.1.5", "pug": "^2.0.4", "pug-cli": "^1.0.0-alpha6", "pushstate-server": "^3.1.0" }, "devDependencies": { "cypress": "^4.5.0", "cypress-localstorage-commands": "^1.2.1", "cypress-terminal-report": "^1.2.1", "npm-watch": "^0.7.0" } }