/
package.json
45 lines (45 loc) · 1.35 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
{
"name": "@guanghechen/invariant",
"version": "6.0.0-alpha.1",
"description": "Invariant function",
"author": {
"name": "guanghechen",
"url": "https://github.com/guanghechen/"
},
"repository": {
"type": "git",
"url": "https://github.com/guanghechen/node-scaffolds/tree/@guanghechen/invariant@6.0.0-alpha.1",
"directory": "packages/invariant"
},
"homepage": "https://github.com/guanghechen/node-scaffolds/tree/@guanghechen/invariant@6.0.0-alpha.1/packages/invariant#readme",
"type": "module",
"exports": {
".": {
"source": "./src/index.ts",
"import": "./lib/esm/index.mjs",
"require": "./lib/cjs/index.cjs",
"types": "./lib/types/index.d.ts"
}
},
"source": "./src/index.ts",
"main": "./lib/cjs/index.cjs",
"module": "./lib/esm/index.mjs",
"types": "./lib/types/index.d.ts",
"license": "MIT",
"engines": {
"node": ">= 18.0.0"
},
"files": [
"lib/",
"!lib/**/*.map",
"package.json",
"CHANGELOG.md",
"LICENSE",
"README.md"
],
"scripts": {
"build": "../../node_modules/.bin/rimraf lib/ && ../../node_modules/.bin/cross-env NODE_ENV=production ../../node_modules/.bin/rollup -c ../../rollup.config.mjs",
"prepublishOnly": "yarn build",
"test": "node --experimental-vm-modules ../../node_modules/.bin/jest --config ../../jest.config.mjs --rootDir ."
}
}