/
package.json
121 lines (121 loc) · 4.13 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
{
"name": "@dynamic-selectors/with-reselect",
"version": "1.1.0",
"description": "Use dynamic selector functions with Reselect",
"keywords": [
"dynamic selector",
"parameterized selector",
"selectors",
"reselect arguments",
"reselect",
"redux",
"memoize"
],
"license": "MIT",
"homepage": "https://github.com/spautz/dynamic-selectors/packages/with-reselect#readme",
"bugs": "https://github.com/spautz/dynamic-selectors/issues",
"repository": {
"type": "git",
"url": "git+https://github.com/spautz/dynamic-selectors.git",
"directory": "packages/with-reselect"
},
"author": {
"name": "Steven Pautz",
"url": "https://github.com/spautz/"
},
"publishConfig": {
"access": "public"
},
"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.js"
},
"./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 ./node_modules/.cache *.log",
"all": "pnpm run format && pnpm run types && pnpm run lint:fix && pnpm run test:coverage && pnpm run build",
"all:readonly": "pnpm run format:verify && pnpm run types && pnpm run lint && pnpm run test:quick",
"all:quick": "pnpm run format && pnpm run types && pnpm run lint:fix",
"all:ci": "pnpm run format:verify && pnpm run types && pnpm run lint && pnpm run test:ci && pnpm run build",
"____ INDIVIDUAL COMMANDS ___________________________________________": "",
"build": "pnpm run build:main && pnpm run size && pnpm run build:legacytypes",
"build:clean": "rimraf ./dist ./legacy-types",
"build:main": "pnpm run build:clean && tsup src/index.ts --format esm,cjs && tsc -p ./tsconfig.build.json --declaration --emitDeclarationOnly",
"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 --watch",
"format": "prettier --write .",
"format:verify": "prettier --list-different .",
"lint": "eslint . --max-warnings 0",
"lint:fix": "eslint . --max-warnings 0 --fix",
"size": "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",
"types": "tsc -p ./tsconfig.json --noEmit"
},
"peerDependencies": {
"@dynamic-selectors/core": "workspace:^",
"reselect": "^4.0.0"
},
"devDependencies": {
"@dynamic-selectors/core": "workspace:*",
"reselect": "4.1.6"
},
"size-limit": [
{
"path": "dist/index.js",
"limit": "1 kB"
}
],
"typesVersions": {
"<4.0": {
"*": [
"legacy-types/ts3.5/index.d.ts"
]
},
"<4.5": {
"*": [
"legacy-types/ts4.0/index.d.ts"
]
},
"<4.7": {
"*": [
"legacy-types/ts4.5/index.d.ts"
]
},
"*": {
"*": [
"dist/index.d.ts"
]
}
}
}