chore: update

This commit is contained in:
Anthony Fu committed 2021-08-05 16:26:15 +08:00
1 parent 12ca186a5c
commit f51d60af4c
3 files changed
+2360 -2765

No files matched your search

+3 -3
View File
@@ -19,9 +19,9 @@ jobs:
- run: npm i -g pnpm @antfu/ni
- run: nci
- run: nr test --if-present
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
# - run: npm publish --access public
# env:
# NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- run: npx conventional-github-releaser -p angular
env:
CONVENTIONAL_GITHUB_RELEASER_TOKEN: ${{secrets.GITHUB_TOKEN}}
+21 -16
View File
@@ -1,10 +1,16 @@
{
"name": "name",
"name": "[name]",
"version": "0.0.0",
"description": "",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs"
}
},
"funding": "https://github.com/sponsors/antfu",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"license": "MIT",
@@ -22,28 +28,27 @@
"dist"
],
"scripts": {
"prepublishOnly": "npm run build",
"dev": "npm run build -- --watch",
"prepublishOnly": "nr build",
"dev": "nr build --watch",
"start": "esno src/index.ts",
"build": "tsup src/index.ts --format cjs,esm --dts",
"release": "git-ensure -a && bumpp --commit --push --tag",
"build": "tsup src/index.ts --format cjs,esm --dts --no-splitting",
"release": "bumpp --commit --push --tag && pnpm publish",
"lint": "eslint \"{src,test}/**/*.ts\"",
"lint:fix": "npm run lint -- --fix",
"lint:fix": "nr lint -- --fix",
"test": "jest"
},
"devDependencies": {
"@antfu/eslint-config": "^0.6.2",
"@antfu/ni": "^0.5.5",
"@types/jest": "^26.0.22",
"@types/node": "^14.14.37",
"@antfu/eslint-config": "^0.6.6",
"@antfu/ni": "^0.5.9",
"@types/jest": "^26.0.24",
"@types/node": "^14.17.9",
"bumpp": "^6.0.6",
"eslint": "^7.23.0",
"eslint-plugin-jest": "^24.3.2",
"eslint": "^7.32.0",
"eslint-plugin-jest": "^24.4.0",
"esno": "^0.5.0",
"git-ensure": "^0.1.0",
"jest": "^26.6.3",
"ts-jest": "^26.5.4",
"tsup": "^4.8.21",
"typescript": "^4.2.3"
"ts-jest": "^26.5.6",
"tsup": "^4.13.1",
"typescript": "^4.3.5"
}
}
+2336 -2746
View File
File diff suppressed because it is too large. Load diff