Skip to content

Commit

Permalink
add engines & reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
kaisukez committed Oct 13, 2023
1 parent 327e853 commit a120296
Showing 1 changed file with 53 additions and 50 deletions.
103 changes: 53 additions & 50 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,53 +1,56 @@
{
"name": "@kaisukez/cancellation-token",
"version": "3.1.1",
"description": "This library provides you ability to cancel async function",
"author": "Nattapon Chantasiriworawat <nattapon.ctsr@gmail.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/kaisukez/cancellation-token.git"
},
"bugs": {
"url": "https://github.com/kaisukez/cancellation-token/issues"
},
"homepage": "https://github.com/kaisukez/cancellation-token",
"keywords": [
"abort",
"cancel",
"cancellable",
"cancellation",
"controller",
"promise",
"token"
],
"files": [
"dist"
],
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
"name": "@kaisukez/cancellation-token",
"version": "3.1.1",
"description": "This library provides you ability to cancel async function",
"author": "Nattapon Chantasiriworawat <nattapon.ctsr@gmail.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/kaisukez/cancellation-token.git"
},
"./package.json": "./package.json"
},
"scripts": {
"build": "rm -rf dist && tsup src/index.ts --format cjs,esm --dts",
"test": "jest -c jest.config.js --coverage"
},
"devDependencies": {
"@types/jest": "^29.5.5",
"@types/node": "^20.8.5",
"@types/node-fetch": "^2.6.6",
"jest": "^29.7.0",
"node-abort-controller": "^3.1.1",
"node-fetch": "^3.3.2",
"ts-jest": "^29.1.1",
"tsup": "^7.2.0",
"typescript": "^5.2.2"
}
"bugs": {
"url": "https://github.com/kaisukez/cancellation-token/issues"
},
"homepage": "https://github.com/kaisukez/cancellation-token",
"keywords": [
"abort",
"cancel",
"cancellable",
"cancellation",
"controller",
"promise",
"token"
],
"files": [
"dist"
],
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
},
"./package.json": "./package.json"
},
"engines": {
"node": ">=20"
},
"scripts": {
"build": "rm -rf dist && tsup src/index.ts --format cjs,esm --dts",
"test": "jest -c jest.config.js --coverage"
},
"devDependencies": {
"@types/jest": "^29.5.5",
"@types/node": "^20.8.5",
"@types/node-fetch": "^2.6.6",
"jest": "^29.7.0",
"node-abort-controller": "^3.1.1",
"node-fetch": "^3.3.2",
"ts-jest": "^29.1.1",
"tsup": "^7.2.0",
"typescript": "^5.2.2"
}
}

0 comments on commit a120296

Please sign in to comment.