mirror of
https://github.com/Kir-Antipov/mc-publish.git
synced 2024-11-22 08:20:58 -05:00
Updated build process
This commit is contained in:
parent
ad5de51320
commit
0a96deb961
1 changed files with 3 additions and 2 deletions
|
@ -5,9 +5,10 @@
|
||||||
"main": "src/index.ts",
|
"main": "src/index.ts",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"clean": "rimraf dist",
|
||||||
"generate": "ncc run scripts/generate.ts -t",
|
"generate": "ncc run scripts/generate.ts -t",
|
||||||
"prebuild": "npm run generate",
|
"prebuild": "npm run clean && npm run generate",
|
||||||
"build": "ncc build -s --license license.txt",
|
"build": "ncc build -m -s --license license.txt",
|
||||||
"test:lint": "eslint \"@(src|scripts)/**/*.ts\" && eslint --rule \"no-invalid-this: off\" tests/**/*.ts",
|
"test:lint": "eslint \"@(src|scripts)/**/*.ts\" && eslint --rule \"no-invalid-this: off\" tests/**/*.ts",
|
||||||
"test:unit": "jest --testPathPattern=unit --watchAll=false",
|
"test:unit": "jest --testPathPattern=unit --watchAll=false",
|
||||||
"test:integration": "jest --testPathPattern=integration --watchAll=false --passWithNoTests",
|
"test:integration": "jest --testPathPattern=integration --watchAll=false --passWithNoTests",
|
||||||
|
|
Loading…
Reference in a new issue