forked from egoist/ts-lib-starter
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
37 lines (37 loc) · 915 Bytes
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
"name": "my-ts-lib",
"version": "0.0.0",
"description": "My awesome typescript library",
"author": "2nthony",
"license": "MIT",
"funding": "https://github.com/sponsors/2nthony",
"repository": "https://github.com/2nthony/my-ts-lib",
"publishConfig": {
"access": "public"
},
"exports": {
"require": "./dist/index.js",
"import": "./dist/index.mjs"
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build-fast": "tsup src/index.ts --format cjs,esm",
"build": "pnpm run build-fast --dts-resolve",
"test": "vitest run",
"prepublishOnly": "pnpm run build",
"lint": "eslint .",
"lint-fix": "eslint . --fix"
},
"devDependencies": {
"@2nthony/eslint-config": "*",
"eslint": "^8.35.0",
"tsup": "7.1.0",
"typescript": "5.1.6",
"vitest": "0.32.2"
}
}