chore: scripts

This commit is contained in:
cha0s 2024-01-26 08:26:59 -06:00
parent f2d07c011a
commit 6314093ba2
3 changed files with 5 additions and 3 deletions

View File

@ -8,9 +8,11 @@
},
"scripts": {
"build": "lerna run build",
"clean": "lerna exec yarn clean",
"dox": "flecks dox docusaurus && cd website && DOCUSAURUS_GENERATED_FILES_DIR_NAME=node_modules/.cache/docusaurus node_modules/.bin/docusaurus",
"lint": "lerna run lint",
"publish": "lerna publish --conventional-commits --contents=dist --registry https://registry.npmjs.org"
"publish": "lerna publish --conventional-commits --contents=dist --registry https://registry.npmjs.org",
"test": "lerna exec 'yarn && yarn test'"
},
"devDependencies": {
"@flecks/build": "*",

View File

@ -5,7 +5,7 @@
"license": "MIT",
"scripts": {
"build": "webpack --config ./build/build.webpack.config.js --mode production",
"clean": "rm -rf dist yarn.lock && yarn",
"clean": "rm -rf dist node_modules yarn.lock",
"lint": "eslint --config ./build/eslint.config.js .",
"postversion": "cp package.json dist",
"test": "npm run build -d && mocha -t 10000 --colors ./dist/test.js"

View File

@ -5,7 +5,7 @@
"license": "MIT",
"scripts": {
"build": "webpack --config ./build/core.webpack.config.js --mode production",
"clean": "rm -rf yarn.lock && yarn",
"clean": "rm -rf dist node_modules yarn.lock",
"lint": "eslint --config ./build/core.eslint.config.js .",
"postversion": "cp package.json dist",
"test": "npm run build -d && mocha --colors ./dist/test.js"