-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
50 lines (50 loc) · 1.65 KB
/
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
45
46
47
48
49
50
{
"name": "@cuppachino/proxy-fn",
"version": "1.0.3",
"description": "",
"type": "module",
"main": "dist/cjs/index.js",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
},
"./utils": {
"import": "./dist/esm/utils/index.js",
"require": "./dist/cjs/utils/index.js"
},
"./types": {
"import": "./dist/esm/types/index.js",
"require": "./dist/cjs/types/index.js"
}
},
"scripts": {
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest watch",
"build:cjs": "tsc -p . --outDir ./dist/cjs --module commonjs --moduleResolution node --verbatimModuleSyntax false",
"build:esm": "tsc -p . --outDir ./dist/esm",
"build:scripts": "tsc ./scripts/copy-json.ts --outDir ./scripts --module nodenext",
"build": "pnpm clean && pnpm build:cjs && pnpm build:esm && pnpm postbuild",
"postbuild": "pnpm build:scripts && node ./scripts/copy-json.js && pnpm clean:scripts",
"clean:scripts": "rimraf ./scripts/copy-json.js",
"clean": "rimraf ./dist",
"start": "node ./dist/index.js",
"format": "prettier --write ./src/**/*.{ts,js,tsx,jsx,json,md}",
"version-package": "changeset version && pnpm format",
"release": "pnpm typecheck && pnpm test && pnpm build && changeset publish"
},
"keywords": [],
"author": "Jacob Bergholtz <[email protected]>",
"license": "GPL-3.0",
"devDependencies": {
"@changesets/cli": "^2.26.2",
"@types/node": "^20.5.9",
"expect-type": "^0.16.0",
"prettier": "^3.0.3",
"rimraf": "^5.0.1",
"tslib": "^2.6.2",
"typescript": "^5.2.2",
"vitest": "^0.34.3"
}
}