Add CI
This commit is contained in:
parent
c6438a9e21
commit
974a97c134
3 changed files with 139 additions and 1 deletions
|
|
@ -35,7 +35,12 @@
|
|||
"scripts": {
|
||||
"start": "rm -rf lib/* && webpack --mode development -w",
|
||||
"build": "rm -rf lib/* docs/* && npx typedoc && webpack --mode production",
|
||||
"lint": "eslint src --fix && prettier --write \"src/**/*.{ts,json}\""
|
||||
"test": "tsc --noEmit",
|
||||
"format": "prettier --check \"src/**/*.{ts,json}\"",
|
||||
"format:fix": "prettier --write \"src/**/*.{ts,json}\"",
|
||||
"lint": "eslint src",
|
||||
"lint:fix": "eslint src --fix",
|
||||
"fix": "npm run lint:fix && npm run format:fix"
|
||||
},
|
||||
"main": "lib/main.js",
|
||||
"types": "lib/src/main.d.ts",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue