-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
130 lines (130 loc) · 3.08 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
{
"name": "is-lite",
"version": "1.2.1",
"description": "A tiny javascript type testing tool",
"author": "Gil Barbara <gilbarbara@gmail.com>",
"keywords": [
"type",
"check",
"assertion",
"validation",
"test",
"typeguard",
"typeof",
"instanceof"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/gilbarbara/is-lite.git"
},
"bugs": {
"url": "https://github.com/gilbarbara/is-lite/issues"
},
"homepage": "https://github.com/gilbarbara/is-lite#readme",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./exports": {
"import": "./dist/exports.mjs",
"require": "./dist/exports.js"
}
},
"files": [
"dist",
"src"
],
"typesVersions": {
"*": {
"exports": [
"dist/exports.d.ts"
]
}
},
"types": "dist/index.d.ts",
"sideEffects": false,
"devDependencies": {
"@arethetypeswrong/cli": "^0.13.5",
"@gilbarbara/esbuilder": "^0.2.0",
"@gilbarbara/eslint-config": "^0.7.2",
"@gilbarbara/prettier-config": "^1.0.0",
"@gilbarbara/tsconfig": "^0.2.3",
"@size-limit/preset-small-lib": "^11.0.1",
"@types/node": "^20.10.6",
"@vitest/coverage-v8": "^1.1.1",
"del-cli": "^5.1.0",
"happy-dom": "^12.10.3",
"husky": "^8.0.3",
"is-ci-cli": "^2.2.0",
"prettier": "^3.1.1",
"repo-tools": "^0.3.1",
"size-limit": "^11.0.1",
"ts-node": "^10.9.2",
"tsup": "^8.0.1",
"typescript": "^5.3.3",
"vitest": "^1.1.1"
},
"scripts": {
"build": "npm run clean && tsup",
"watch": "tsup --watch",
"clean": "del dist/*",
"lint": "eslint --fix src test",
"test": "is-ci \"test:coverage\" \"test:watch\"",
"typecheck": "tsc",
"typevalidation": "attw -Pq",
"test:coverage": "TZ=UTC vitest run --coverage",
"test:watch": "TZ=UTC vitest watch",
"format": "prettier \"**/*.{js,jsx,json,yml,yaml,css,less,scss,ts,tsx,md,graphql,mdx}\" --write",
"validate": "npm run lint && npm run typecheck && npm run test:coverage && npm run build && npm run typevalidation && npm run size",
"size": "size-limit",
"prepublishOnly": "npm run validate",
"prepare": "husky install"
},
"tsup": {
"cjsInterop": true,
"dts": true,
"entry": [
"src/index.ts",
"src/exports.ts"
],
"format": [
"cjs",
"esm"
],
"sourcemap": true,
"splitting": false
},
"eslintConfig": {
"extends": [
"@gilbarbara/eslint-config/base",
"@gilbarbara/eslint-config/vitest"
]
},
"prettier": "@gilbarbara/prettier-config",
"size-limit": [
{
"name": "commonjs",
"path": "./dist/index.js",
"limit": "1.5 kB"
},
{
"name": "esm",
"path": "./dist/index.mjs",
"limit": "1.5 kB"
},
{
"name": "exports-commonjs",
"path": "./dist/exports.js",
"limit": "2 kB"
},
{
"name": "exports-esm",
"path": "./dist/exports.mjs",
"limit": "2 kB"
}
]
}