50 lines
1.3 KiB
JSON
50 lines
1.3 KiB
JSON
{
|
|
"name": "[name]",
|
|
"version": "0.0.0",
|
|
"description": "",
|
|
"main": "dist/index.js",
|
|
"module": "dist/index.mjs",
|
|
"types": "dist/index.d.ts",
|
|
"funding": "https://github.com/sponsors/antfu",
|
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
"license": "MIT",
|
|
"sideEffects": false,
|
|
"bugs": {
|
|
"url": "https://github.com/antfu/[name]/issues"
|
|
},
|
|
"homepage": "https://github.com/antfu/[name]#readme",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/antfu/[name].git"
|
|
},
|
|
"keywords": [],
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"prepublishOnly": "npm run build",
|
|
"watch": "npm run build -- --watch",
|
|
"dev": "esno src/index.ts",
|
|
"build": "tsup src/index.ts --format cjs,esm --dts",
|
|
"release": "git-ensure -a && bumpp --commit --push --tag",
|
|
"lint": "eslint \"{src,test}/**/*.ts\"",
|
|
"lint:fix": "npm run lint -- --fix",
|
|
"test": "jest"
|
|
},
|
|
"devDependencies": {
|
|
"@antfu/eslint-config": "^0.4.3",
|
|
"@antfu/ni": "^0.5.4",
|
|
"@types/jest": "^26.0.20",
|
|
"@types/node": "^14.14.28",
|
|
"bumpp": "^6.0.6",
|
|
"eslint": "^7.20.0",
|
|
"eslint-plugin-jest": "^24.1.5",
|
|
"esno": "^0.4.3",
|
|
"git-ensure": "^0.0.4",
|
|
"jest": "^26.6.3",
|
|
"ts-jest": "^26.5.1",
|
|
"tsup": "^4.0.0",
|
|
"typescript": "^4.1.5"
|
|
}
|
|
}
|