-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
81 lines (81 loc) · 2.5 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"name": "open-source-stack",
"version": "1.0.0",
"description": "Minimal open-source stack to help you ship an open-source package in TS",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.mts",
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"types": "./dist/index.d.mts",
"import": "./dist/index.mjs",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.js"
}
}
},
"scripts": {
"test": "vitest run",
"test:cov": "vitest run --coverage",
"postbuild": "npm run check:exports",
"build": "tsup src/index.ts --config tsup.config.ts",
"remix:dev": "npm run dev -w test-apps/remix-vite",
"remix:cjs:dev": "npm run dev -w test-apps/remix-vite-cjs",
"build:dev": "tsup src/index.ts --config tsup.dev.config.ts",
"build:dev:watch": "npm run build:dev -- --watch",
"build:dev:cjs:watch": "npm run build:dev -- --watch",
"dev": "npm-run-all -s build:dev -p remix:dev build:dev:watch",
"dev:cjs": "npm-run-all -s build:dev -p remix:cjs:dev build:dev:cjs:watch",
"prepublishOnly": "npm run build",
"check": "biome check .",
"check:fix": "biome check --fix .",
"typecheck": "tsc",
"validate": "npm run check && npm run tsc && npm run test",
"check:exports": "attw --pack .",
"local-release": "changeset version && changeset publish"
},
"author": "",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/forge42dev/open-source-stack.git"
},
"bugs": {
"url": "https://github.com/forge42dev/open-source-stack/issues"
},
"files": ["dist"],
"workspaces": [".", "test-apps/*"],
"homepage": "https://github.com/forge42dev/open-source-stack#readme",
"devDependencies": {
"@arethetypeswrong/cli": "^0.15.4",
"@biomejs/biome": "^1.8.3",
"@changesets/cli": "^2.27.7",
"@types/node": "^20.12.7",
"@vitest/coverage-v8": "^1.5.2",
"happy-dom": "^14.7.1",
"lefthook": "^1.7.2",
"npm-run-all": "^4.1.5",
"tsup": "^8.0.2",
"typescript": "^5.4.5",
"vitest": "^1.5.2"
},
"optionalDependencies": {
"@rollup/rollup-darwin-x64-gnu": "4.18.1",
"@rollup/rollup-darwin-x64-musl": "4.18.1",
"@rollup/rollup-linux-arm64-gnu": "4.18.1",
"@rollup/rollup-linux-x64-gnu": "^4.18.1",
"@rollup/rollup-linux-x64-musl": "^4.18.1",
"@rollup/rollup-win32-arm64-msvc": "4.18.1",
"@rollup/rollup-win32-x64-msvc": "4.18.1",
"@rollup/rollup-win32-x64-musl": "4.18.1"
},
"engines": {
"node": ">=20.0.0"
}
}