53 lines
1.3 KiB
JSON
53 lines
1.3 KiB
JSON
{
|
|
"name": "name",
|
|
"version": "0.0.0",
|
|
"description": "",
|
|
"keywords": [],
|
|
"homepage": "https://github.com/antfu/[name]#readme",
|
|
"bugs": {
|
|
"url": "https://github.com/antfu/[name]/issues"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/antfu/[name].git"
|
|
},
|
|
"funding": "https://github.com/sponsors/antfu",
|
|
"license": "MIT",
|
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
"sideEffects": false,
|
|
"exports": {
|
|
".": {
|
|
"require": "./dist/index.cjs",
|
|
"import": "./dist/index.mjs",
|
|
"types": "./dist/index.d.ts"
|
|
}
|
|
},
|
|
"main": "./dist/index.cjs",
|
|
"module": "./dist/index.mjs",
|
|
"types": "./dist/index.d.ts",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "rimraf dist && unbuild",
|
|
"dev": "unbuild --stub",
|
|
"lint": "eslint --ext .js,.ts .",
|
|
"prepublishOnly": "nr build",
|
|
"release": "bumpp --commit --push --tag && pnpm publish",
|
|
"start": "esno src/index.ts",
|
|
"test": "vitest"
|
|
},
|
|
"devDependencies": {
|
|
"@antfu/eslint-config": "^0.16.1",
|
|
"@antfu/ni": "^0.13.2",
|
|
"@types/node": "^17.0.21",
|
|
"bumpp": "^7.1.1",
|
|
"eslint": "^8.10.0",
|
|
"esno": "^0.14.1",
|
|
"typescript": "^4.5.5",
|
|
"unbuild": "^0.6.9",
|
|
"vite": "^2.8.4",
|
|
"vitest": "^0.5.7"
|
|
}
|
|
}
|