mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2024-12-22 14:59:29 -07:00
feat: Add rome tool
This commit is contained in:
parent
2be4e304a1
commit
939b620e8e
1 changed files with 4 additions and 1 deletions
|
@ -34,6 +34,7 @@
|
|||
"mini-css-extract-plugin": "^2.5.3",
|
||||
"mocha": "^10.1.0",
|
||||
"nodemon": "^2.0.20",
|
||||
"rome": "^11.0.0",
|
||||
"standard": "^17.0.0",
|
||||
"style-loader": "^3.3.1",
|
||||
"webpack": "^5.75.0",
|
||||
|
@ -43,7 +44,7 @@
|
|||
"scripts": {
|
||||
"start": "node --experimental-fetch ./",
|
||||
"dev": "LOG_LEVEL=debug yarn run watch & yarn run build:static:dev",
|
||||
"test": "yarn run standard:check && mocha",
|
||||
"test": "yarn run standard:check && yarn run rome:check && mocha",
|
||||
"watch": "./node_modules/.bin/nodemon --config nodemon.json ./",
|
||||
"build": "yarn run build:server & yarn run build:static",
|
||||
"build:server": "ncc build ./src/index.js -o dist",
|
||||
|
@ -51,6 +52,8 @@
|
|||
"build:static:dev": "webpack --config webpack.config.js --env static=true --env mode=development",
|
||||
"standard:check": "./node_modules/.bin/standard ./src",
|
||||
"standard:fix": "./node_modules/.bin/standard --fix ./src",
|
||||
"rome:check": "./node_modules/.bin/rome check ./src",
|
||||
"rome:fix": "./node_modules/.bin/rome check --apply ./src",
|
||||
"license:check": "./node_modules/.bin/license-check-and-add check",
|
||||
"license:add": "./node_modules/.bin/license-check-and-add add",
|
||||
"license:remove": "./node_modules/.bin/license-check-and-add remove"
|
||||
|
|
Loading…
Reference in a new issue