-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
67 lines (67 loc) · 2.21 KB
/
package.json
File metadata and controls
67 lines (67 loc) · 2.21 KB
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
{
"name": "@tsdotnet/array-init",
"version": "1.2.4",
"description": "Commonly used array initializer that optimizes for length.",
"author": "electricessence",
"license": "MIT",
"type": "module",
"exports": {
".": {
"types": "./dist/types/arrayInit.d.ts",
"import": "./dist/esm/arrayInit.js",
"require": "./dist/cjs/arrayInit.js"
}
},
"types": "./dist/types/arrayInit.d.ts",
"keywords": [
"array",
"array helper",
"array utility",
"array init",
"array initialization"
],
"scripts": {
"clean": "rimraf dist",
"copy:dts": "cpy \"src/**/*.d.ts\" dist/types --parents || echo No .d.ts files to copy",
"build:types": "pnpm copy:dts && tsc -p tsconfig.types.json",
"build:esm": "rollup -c rollup.config.js",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build": "pnpm clean && pnpm build:types && pnpm build:esm && pnpm build:cjs && pnpm typecheck:tests",
"test": "vitest run",
"typecheck": "tsc --noEmit",
"typecheck:tests": "tsc -p tests/tsconfig.json --noEmit",
"lint": "eslint src/**/*.ts",
"docs": "rimraf docs && typedoc --options typedoc.json --readme none",
"bump": "pnpm run precommit && pnpm version patch",
"precommit": "pnpm build && pnpm test && pnpm lint && git status -s",
"preversion": "pnpm lint && pnpm test",
"postversion": "git push && git push --tags && pnpm run docs && git add -A && git commit -m \"Updated docs.\" docs && git push",
"prepublishOnly": "pnpm build && pnpm test && pnpm lint"
},
"repository": {
"type": "git",
"url": "git+https://github.com/tsdotnet/array-init.git"
},
"bugs": {
"url": "https://github.com/tsdotnet/array-init/issues"
},
"homepage": "https://github.com/tsdotnet/array-init#readme",
"devDependencies": {
"@eslint/js": "^10.0.1",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-typescript": "^12.3.0",
"@types/node": "^25.5.2",
"@vitest/coverage-v8": "^4.1.3",
"cpy-cli": "^7.0.0",
"eslint": "^10.2.0",
"rimraf": "^6.1.3",
"rollup": "^4.60.1",
"typedoc": "^0.28.18",
"typescript": "^6.0.2",
"typescript-eslint": "^8.58.0",
"vitest": "^4.1.3"
},
"dependencies": {
"tslib": "^2.8.1"
}
}