Update scripts
parent
a3f5c70d52
commit
940554560e
|
@ -24,11 +24,11 @@
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "eslint . --ext .ts",
|
"lint": "eslint . --ext .ts",
|
||||||
"prettier-format": "prettier --config .prettierrc '**/*.ts' --write",
|
"prettier-format": "prettier --config .prettierrc '{src,test}/**/*.ts' --write",
|
||||||
"ts:compile": "tsc",
|
"compile": "tsc",
|
||||||
"tests": "mocha --require ts-node/register test/**/*.ts",
|
"test": "mocha --require ts-node/register test/**/*.ts",
|
||||||
"publish": "npm publish",
|
"publish": "npm publish",
|
||||||
"run-example": "npm run ts:compile && node ./dist/example.js"
|
"run-example": "npm run compile && node ./dist/example.js"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=10.0"
|
"node": ">=10.0"
|
||||||
|
|
Loading…
Reference in New Issue