-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
74 lines (74 loc) · 2.1 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
{
"name": "npm-package-template",
"version": "0.0.1",
"description": "A template for building npm packages",
"keywords": ["typescript"],
"type": "module",
"main": "dist/index.cjs.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.cjs.js",
"import": "./dist/index.js"
},
"./utils": {
"require": "./dist/utils.cjs.js",
"import": "./dist/utils.js"
},
"./demo": {
"require": "./dist/features/demo.cjs.js",
"import": "./dist/features/demo.js"
}
},
"homepage": "https://github.com/hygorzorak/npm-package-template",
"author": "Hygor Zorak <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/hygorzorak/npm-package-template.git"
},
"files": ["dist", "README.md"],
"simple-git-hooks": {
"pre-commit": "npm run lint && npm run test"
},
"size-limit": [
{
"path": "dist/index.js",
"limit": "500 KB"
}
],
"devDependencies": {
"@arethetypeswrong/cli": "^0.15.4",
"@biomejs/biome": "1.9.3",
"@changesets/cli": "^2.27.7",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/npm": "^12.0.1",
"@size-limit/preset-small-lib": "^11.1.6",
"@vitejs/plugin-react": "^4.3.2",
"@vitest/coverage-v8": "^2.1.3",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"semantic-release": "^24.1.2",
"simple-git-hooks": "^2.11.1",
"size-limit": "^11.1.6",
"tsup": "^8.3.0",
"typescript": "^5.5.4",
"vitest": "^2.0.5"
},
"scripts": {
"prepare": "simple-git-hooks",
"build": "rimraf dist && tsup",
"watch": "tsup --watch",
"ci": "npm run build && npm run check-exports && npm run lint && npm run test",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"lint": "biome check --write --unsafe",
"lint:ts": "tsc --noEmit",
"check-exports": "attw --pack .",
"size": "size-limit",
"local-release": "npm run ci && changeset version && changeset publish"
}
}