generated from egoist/ts-lib-starter
-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
package.json
44 lines (44 loc) · 986 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
38
39
40
41
42
43
44
{
"name": "bundle-require",
"version": "0.0.0-semantic-release",
"description": "bundle and require a file",
"publishConfig": {
"access": "public"
},
"files": [
"dist"
],
"type": "module",
"main": "./dist/index.js",
"exports": {
".": {
"import": "./dist/index.js",
"default": "./dist/index.cjs"
}
},
"types": "./dist/index.d.ts",
"scripts": {
"build": "tsup src/index.ts --format esm,cjs --dts-resolve --target node12.20.0",
"test": "npm run build && vitest run",
"prepublishOnly": "npm run build"
},
"license": "MIT",
"devDependencies": {
"@egoist/prettier-config": "1.0.0",
"@types/node": "18.11.18",
"esbuild": "0.18.20",
"prettier": "2.8.3",
"tsup": "6.5.0",
"typescript": "4.9.5",
"vitest": "0.28.3"
},
"dependencies": {
"load-tsconfig": "^0.2.3"
},
"peerDependencies": {
"esbuild": ">=0.18"
},
"engines": {
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
}
}