Update scripts

pull/77/head
MillenniumEarl 2021-03-08 12:40:01 +01:00
parent a3f5c70d52
commit 940554560e
1 changed files with 4 additions and 4 deletions

View File

@ -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"