-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
75 lines (75 loc) · 1.97 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
{
"name": "normalize-exports",
"version": "0.0.7",
"description": "Normalizes the exports field of package.json",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/esm/index.mjs",
"require": "./dist/cjs/index.js"
},
"./package.json": "./package.json"
},
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.mjs",
"types": "./dist/types/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/sagargurtu/normalize-exports.git"
},
"files": [
"dist"
],
"scripts": {
"build": "rimraf dist && run-p build:*",
"build:cjs": "esbuild src/index.ts --outdir=dist/cjs --bundle --format=cjs --platform=node",
"build:esm": "esbuild src/index.ts --outdir=dist/esm --bundle --format=esm --platform=node --out-extension:.js=.mjs",
"build:types": "tsc --project tsconfig.build.json",
"format": "prettier --write --cache .",
"prepublishOnly": "run-s build test",
"test": "vitest run",
"test:coverage": "vitest run --coverage"
},
"author": {
"name": "Sagar Gurtu",
"email": "[email protected]"
},
"license": "MIT",
"keywords": [
"exports",
"package exports",
"package.json",
"esm",
"esmodules",
"modules"
],
"bugs": {
"url": "https://github.com/sagargurtu/normalize-exports/issues"
},
"homepage": "https://github.com/sagargurtu/normalize-exports#readme",
"devDependencies": {
"@types/mock-fs": "^4.13.1",
"@types/node": "^18.19.4",
"@vitest/coverage-v8": "^0.32.2",
"esbuild": "^0.19.11",
"lint-staged": "^13.0.3",
"mock-fs": "^5.1.4",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"rimraf": "^3.0.2",
"simple-git-hooks": "^2.8.0",
"typescript": "^5.3.3",
"vitest": "^0.32.2"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"lint-staged": {
"*": [
"prettier --write --cache --ignore-unknown"
]
},
"engines": {
"node": ">=18.17.0"
}
}