Update build and test commands
This commit is contained in:
parent
1e91af346c
commit
60ebe7a397
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -18,6 +18,4 @@ jobs:
|
||||
node-version: 16
|
||||
- run: npm ci
|
||||
- run: npm run lint
|
||||
- run: npm run test:types
|
||||
- run: npm test
|
||||
timeout-minutes: 10
|
||||
|
||||
@ -37,10 +37,11 @@
|
||||
"url": "https://github.com/quilljs/parchment"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "vite build",
|
||||
"build": "npm run build:bundle && npm run build:types",
|
||||
"build:bundle": "vite build",
|
||||
"build:types": "tsc --emitDeclarationOnly && api-extractor run && del-cli dist/typings",
|
||||
"lint": "eslint 'src/**/*.ts' 'test/**/*.ts'",
|
||||
"prepare": "npm run build && npm run build:types",
|
||||
"prepare": "npm run build",
|
||||
"test": "npm run test:unit && npm run test:types",
|
||||
"test:unit": "vitest",
|
||||
"test:types": "vitest typecheck"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user