/
package.json
147 lines (147 loc) · 4.7 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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
{
"name": "@dynamic-selectors/core",
"version": "1.2.1",
"description": "Dynamic selector functions",
"keywords": [
"dynamic selector",
"parameterized selector",
"selectors",
"reselect arguments",
"reselect",
"memoize",
"selector functions"
],
"license": "MIT",
"homepage": "https://github.com/spautz/dynamic-selectors/packages/core#readme",
"bugs": "https://github.com/spautz/dynamic-selectors/issues",
"repository": {
"type": "git",
"url": "git+https://github.com/spautz/dynamic-selectors.git",
"directory": "packages/core"
},
"author": {
"name": "Steven Pautz",
"url": "https://github.com/spautz/"
},
"publishConfig": {
"access": "public",
"provenance": true,
"tag": "next"
},
"files": [
"dist/",
"docs/",
"legacy-types/",
"src/",
"LICENSE",
"*.md"
],
"source": "./src/index.ts",
"type": "module",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
},
"./devOnly": {
"import": "./dist/index.devOnly.js",
"require": "./dist/index.devOnly.cjs",
"types": "./dist/index.devOnly.d.ts"
},
"./package.json": "./package.json"
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"jsnext:main": "./dist/index.js",
"types": "./dist/index.d.ts",
"sideEffects": false,
"scripts": {
"____ HOOKS _________________________________________________________": "",
"prepare": "pnpm run build:main",
"prepack": "pnpm run clean && pnpm run build",
"____ INTEGRATION ___________________________________________________": "",
"clean": "pnpm run build:clean && pnpm run test:clean && rimraf --glob ./node_modules/.cache *.log",
"all": "pnpm run format && pnpm run typecheck && pnpm run lint:fix && pnpm run test:coverage && pnpm run build",
"all:readonly": "pnpm run format:verify && pnpm run typecheck && pnpm run lint && pnpm run test:quick",
"all:quick": "pnpm run format && pnpm run typecheck && pnpm run lint:fix",
"all:ci": "pnpm run format:verify && pnpm run typecheck && pnpm run lint && pnpm run test:ci && pnpm run build",
"____ INDIVIDUAL COMMANDS ___________________________________________": "",
"build": "pnpm run build:main && pnpm run sizecheck && pnpm run build:legacytypes",
"build:clean": "rimraf ./dist ./legacy-types",
"build:main": "pnpm run build:clean && tsup src/index.ts --format cjs && tsc -p ./tsconfig.build.json",
"build:legacytypes": "pnpm run build:legacytypes:3.5 && pnpm run build:legacytypes:4.0 && pnpm run build:legacytypes:4.5",
"build:legacytypes:3.5": "downlevel-dts ./dist ./legacy-types/ts3.5 --to=3.5",
"build:legacytypes:4.0": "downlevel-dts ./dist ./legacy-types/ts4.0 --to=4.0",
"build:legacytypes:4.5": "downlevel-dts ./dist ./legacy-types/ts4.5 --to=4.5",
"build:watch": "pnpm run build:clean && tsup src/index.ts --format esm,cjs --dts --watch",
"format": "prettier --write .",
"format:verify": "prettier --list-different .",
"lint": "eslint . --max-warnings 0",
"lint:fix": "eslint . --max-warnings 0 --fix",
"sizecheck": "size-limit",
"test": "pnpm run test:coverage",
"test:clean": "rimraf ./coverage",
"test:ci": "pnpm run test:clean && vitest run --coverage",
"test:coverage": "pnpm run test:clean && vitest run --coverage",
"test:quick": "pnpm run test:clean && vitest run --coverage=false",
"test:watch": "pnpm run test:clean && vitest watch --coverage=false",
"test:watchcoverage": "pnpm run test:clean && vitest watch --coverage",
"typecheck": "tsc -p ./tsconfig.json --noEmit"
},
"dependencies": {
"lodash-es": "^4.17.21",
"shallowequal": "^1.1.0"
},
"devDependencies": {
"@types/lodash-es": "4.17.7",
"@types/node": "20.1.0",
"@types/shallowequal": "1.1.1"
},
"peerDependencies": {},
"size-limit": [
{
"path": "dist/index.js",
"import": "{}",
"limit": "20 B"
},
{
"path": "dist/index.js",
"limit": "5 kB"
}
],
"typesVersions": {
"<4.0": {
"devOnly": [
"legacy-types/ts3.5/index.devOnly.d.ts"
],
"*": [
"legacy-types/ts3.5/index.d.ts"
]
},
"<4.5": {
"devOnly": [
"legacy-types/ts4.0/index.devOnly.d.ts"
],
"*": [
"legacy-types/ts4.0/index.d.ts"
]
},
"<4.7": {
"devOnly": [
"legacy-types/ts4.5/index.devOnly.d.ts"
],
"*": [
"legacy-types/ts4.5/index.d.ts"
]
},
"*": {
"devOnly": [
"dist/index.devOnly.d.ts"
],
"*": [
"dist/index.d.ts"
]
}
}
}