-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
78 lines (78 loc) · 2.57 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
{
"name": "ts-paths-resolver",
"version": "1.2.15",
"author": "jpb06 <jp.bois.06@outlook.fr>",
"description": "Yet another paths resolver for typescript paths aliases",
"keywords": [
"effect"
],
"main": "./cjs/index.js",
"module": "./esm/index.js",
"types": "./dts/index.d.ts",
"type": "module",
"bin": {
"resolve-ts-paths": "./cjs/cli/resolve-ts-paths.cli.js",
"resolve-ts-paths-esm": "./esm/cli/resolve-ts-paths.cli.js"
},
"exports": {
".": {
"require": {
"default": "./cjs/index.js",
"types": "./dts/index.d.ts"
},
"import": {
"default": "./esm/index.js",
"types": "./dts/index.d.ts"
}
}
},
"engines": {
"node": ">=20.x"
},
"scripts": {
"update-deps": "bun npm-check-updates --root --format group -i",
"copy-package": "copyfiles package.json ./dist/",
"copy-readme": "copyfiles README.md ./dist/",
"build": "del-cli ./dist && bun build-esm && bun build-cjs",
"build-for-test": "del-cli ./src/tests/mock-data/frozen-dist && tsc --project tsconfig.esm.json --outDir ./src/tests/mock-data/frozen-dist/esm --declarationDir ./src/tests/mock-data/frozen-dist/dts && tsc --project tsconfig.cjs.json --outDir ./src/tests/mock-data/frozen-dist/cjs",
"build-esm": "tsc --project tsconfig.esm.json",
"build-cjs": "tsc --project tsconfig.cjs.json",
"postbuild-cjs": "echo '{\"type\": \"commonjs\"}' > dist/cjs/package.json",
"postbuild-esm": "echo '{\"type\": \"module\"}' > dist/esm/package.json",
"postbuild": "bun run copy-package && bun run copy-readme && bun ./src/build/transform-dist.ts",
"format": "biome format --write ./src",
"format-ci": "biome format ./src",
"lint": "biome lint ./src",
"type-check": "tsc --noEmit",
"test": "vitest",
"test-ci": "vitest --coverage --run",
"test-dev": "vitest --coverage",
"test-coverage": "vitest run --coverage",
"sync-icons": "bun generateReadmeIcons -h 50"
},
"dependencies": {
"@effect/platform": "0.72.1",
"comment-json": "4.2.5",
"effect": "3.12.1",
"glob": "11.0.0",
"picocolors": "1.1.1",
"yargs": "17.7.2"
},
"peerDependencies": {
"typescript": "5.7.2"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@types/bun": "latest",
"@types/yargs": "17.0.33",
"@vitest/coverage-v8": "2.1.8",
"copyfiles": "2.4.1",
"del-cli": "6.0.0",
"effect-errors": "1.8.7",
"npm-check-updates": "^17.1.13",
"readme-package-icons": "1.1.16",
"vite-tsconfig-paths": "5.1.4",
"vitest": "2.1.8",
"vitest-mock-extended": "2.0.2"
}
}