-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
80 lines (80 loc) · 2.89 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
{
"author": "owner-or-organization",
"name": "@owner-or-organization/repository-name",
"description": "owner-or-organization-package-short-description",
"type": "module",
"version": "0.0.1",
"repository": {
"type": "git",
"url": "git://github.com/owner-or-organization/repository-name.git"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com/owner-or-organization"
},
"main": "./dist/index.js",
"exports": {
"default": "./dist/index.modern.mjs",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"module": "./dist/index.module.js",
"unpkg": "./dist/index.umd.js",
"source": "./index.ts",
"types": "./dist/index.d.ts",
"files": ["dist"],
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"add-shebang": "./add-shebang.sh",
"auth:npm": "npm-cli-login -u $NPM_USER -p $NPM_PASS -e $NPM_EMAIL -r $NPM_REGISTRY -s $NPM_SCOPE",
"biome:all": "biome check --apply-unsafe --formatter-enabled=true --linter-enabled=true --organize-imports-enabled=true --no-errors-on-unmatched .",
"biome:precommit": "biome check --apply --changed --formatter-enabled=true --linter-enabled=true --organize-imports-enabled=true --no-errors-on-unmatched .",
"biome:ci": "biome ci --no-errors-on-unmatched .",
"clean:dist": "rimraf dist",
"postauth:npm": "cat ~/.npmrc",
"build": "microbundle",
"dev": "microbundle watch",
"prepare": "husky install && chmod ug+x .husky/*",
"release": "commit-and-release-tag",
"size": "size-limit",
"test": "jest --watch",
"test:ci": "jest --ci --coverage --maxWorkers=50%",
"test:ci:coverage": "jest --ci --coverage --maxWorkers=50%",
"typecheck": "tsc --project tsconfig.json --noEmit",
"prerelease": "git checkout main && git pull && run-s biome:all clean:dist typecheck build",
"postrelease": "git push --follow-tags --no-verify && npm publish",
"prepack": "pinst --disable",
"postpack": "pinst --enable",
"up": "taze",
"up:patch": "taze patch --install && npx taze -w && npm i",
"up:minor": "taze minor --install && npx taze -w && npm i",
"up:major": "taze major --install && npx taze -w && npm i"
},
"devDependencies": {
"@biomejs/biome": "^1.7.1",
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@jest/types": "^29.6.3",
"@size-limit/preset-small-lib": "^11.1.2",
"@types/jest": "^29.5.12",
"@types/node": "^20.12.7",
"commit-and-tag-version": "^12.4.1",
"husky": "^9.0.11",
"jest": "^29.7.0",
"jest-when": "^3.6.0",
"microbundle": "^0.15.1",
"npm-cli-login": "^1.0.0",
"npm-run-all": "^4.1.5",
"npm-run-all2": "^6.1.2",
"pinst": "^3.0.0",
"rimraf": "^5.0.5",
"size-limit": "^11.1.2",
"start-server-and-test": "^2.0.3",
"taze": "^0.13.7",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"tslib": "^2.6.2",
"typescript": "^5.4.5"
}
}