-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
55 lines (55 loc) · 1.54 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
{
"name": "ts-xor",
"version": "1.3.0",
"description": "Compose custom types containing mutually exclusive keys, using this generic Typescript helper type.",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"node": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.ts",
"node": "./dist/index.js"
}
}
},
"sideEffects": false,
"scripts": {
"codegen": "node ./src/xorFactory.js > ./src/types/xor.ts",
"prebuild": "npm run codegen",
"build": "tsup src/index.ts --format esm,cjs --dts --sourcemap --clean",
"pretest": "npm run codegen",
"test": "npm run test:smoke && npm run test:unit && npm run test:package",
"test:smoke": "tsc -p . --noEmit",
"test:unit": "sh scripts/run-tests.sh",
"test:package": "publint",
"preversion": "npm run build && npm test",
"postpublish": "git push --tags"
},
"repository": {
"type": "git",
"url": "git+https://github.com/maninak/ts-xor.git"
},
"keywords": [
"typescript",
"custom types",
"mutually exlusive keys",
"xor",
"maninak"
],
"author": "Kostis Maninakis <[email protected]> (https://maninak.github.io)",
"license": "MIT",
"bugs": {
"url": "https://github.com/maninak/ts-xor/issues"
},
"homepage": "https://github.com/maninak/ts-xor#README.md",
"devDependencies": {
"publint": "^0.2.2",
"tsup": "^7.2.0",
"typescript": "^5.2.2"
}
}