Skip to content

Commit

Permalink
chore: fix test script
Browse files Browse the repository at this point in the history
  • Loading branch information
aladdin-add committed Aug 1, 2023
1 parent 6c7a308 commit 25c1051
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"license": "MIT",
"author": "唯然<[email protected]",
"type": "module",
"main": "./lib/index.js",
"exports": "./lib/index.js",
"typings": "./lib/index.d.ts",
"files": [
Expand All @@ -26,7 +27,8 @@
"prettier": "prettier -w ./*.js ./lib/*.js",
"release": "npm test && standard-version",
"test:typings": "tsc",
"test:unit": "node tests/index.spec.js"
"test:unit": "node tests/index.spec.js",
"test": "npm run test:typings && npm run test:unit"
},
"devDependencies": {
"@eslint/js": "^8.45.0",
Expand All @@ -44,5 +46,9 @@
},
"engines": {
"node": ">=16"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
}
}

0 comments on commit 25c1051

Please sign in to comment.