chore(package.json): remove orphan definitions and scripts
This commit is contained in:
parent
863010a630
commit
f9dd14ca9b
35
package.json
35
package.json
@ -5,41 +5,6 @@
|
|||||||
"keywords": [],
|
"keywords": [],
|
||||||
"author": "",
|
"author": "",
|
||||||
"license": "AGPL-3.0-or-later",
|
"license": "AGPL-3.0-or-later",
|
||||||
"scripts": {
|
|
||||||
"start": "npm-run-all frontend:build --parallel \"frontend:build:watch\" \"yesod:start\"",
|
|
||||||
"test": "run-s frontend:test yesod:test i18n:test",
|
|
||||||
"lint": "run-s frontend:lint yesod:lint",
|
|
||||||
"build": "run-s frontend:build yesod:build",
|
|
||||||
"yesod:db": "./db.sh",
|
|
||||||
"yesod:start": "./start.sh",
|
|
||||||
"yesod:lint": "./hlint.sh",
|
|
||||||
"yesod:test": "./test.sh",
|
|
||||||
"yesod:test:watch": "./test.sh --file-watch",
|
|
||||||
"yesod:build": "./build.sh",
|
|
||||||
"yesod:build:watch": "./build.sh --file-watch",
|
|
||||||
"frontend:lint": "eslint frontend/src",
|
|
||||||
"frontend:test": "karma start --conf karma.conf.js",
|
|
||||||
"frontend:test:watch": "karma start --conf karma.conf.js --single-run false",
|
|
||||||
"frontend:build": "webpack --progress",
|
|
||||||
"frontend:build:watch": "webpack --watch --progress",
|
|
||||||
"i18n:test": "./missing-translations.sh",
|
|
||||||
"prerelease": "./is-clean.sh && npm run test",
|
|
||||||
"release": "./release.sh",
|
|
||||||
"postrelease": "git push --follow-tags",
|
|
||||||
"parse-changelog": "changelog-parser ./CHANGELOG.md > changelog.json"
|
|
||||||
},
|
|
||||||
"husky": {
|
|
||||||
"hooks": {
|
|
||||||
"pre-commit": "lint-staged",
|
|
||||||
"commit-msg": "commitlint --edit $HUSKY_GIT_PARAMS"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"lint-staged": {
|
|
||||||
"frontend/src/**/*.js": [
|
|
||||||
"eslint",
|
|
||||||
"git add"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"browserslist": [
|
"browserslist": [
|
||||||
"defaults"
|
"defaults"
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user