-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
77 lines (77 loc) · 2.22 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
{
"name": "@cloudscape-design/collection-hooks",
"version": "1.0.0",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/cloudscape-design/collection-hooks.git"
},
"homepage": "https://cloudscape.design",
"scripts": {
"lint": "eslint . --ext .ts,.tsx",
"test-08:00": "TZ=America/Los_Angeles vitest --run ./src/__tests__/date-utils --coverage=false",
"test+08:00": "TZ=Asia/Brunei vitest --run ./src/__tests__/date-utils --coverage=false",
"test-local": "vitest --run",
"pretest": "tsc -p tsconfig.unit.json",
"test": "npm run test-08:00 && npm run test+08:00 && npm run test-local",
"clean": "rimraf ./lib",
"prebuild": "npm run clean",
"build": "tsc -p ./tsconfig.json && tsc -p ./tsconfig.cjs.json && node ./scripts/generate-deep-package.js",
"postbuild": "cp package.json README.md LICENSE NOTICE lib",
"prepare": "husky"
},
"type": "module",
"main": "./cjs/index.js",
"module": "./mjs/index.js",
"sideEffects": false,
"exports": {
".": {
"require": "./cjs/index.js",
"default": "./mjs/index.js"
},
"./operations": {
"require": "./cjs/operations.js",
"default": "./mjs/operations.js"
}
},
"files": [
"cjs",
"mjs",
"package.json",
"README.md",
"LICENSE",
"NOTICE"
],
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@testing-library/react": "^11.2.7",
"@types/react": "^16.14.21",
"@types/react-dom": "^16.9.14",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"@vitest/coverage-istanbul": "^1.6.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-header": "3.1.0",
"eslint-plugin-prettier": "^3.4.1",
"eslint-plugin-react": "^7.27.1",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-unicorn": "^11.0.2",
"husky": "^9.0.0",
"jsdom": "^25.0.1",
"lint-staged": "^13.2.1",
"prettier": "^2.5.0",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"rimraf": "^3.0.2",
"typescript": "^5.7.2",
"vitest": "^1.6.0"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix"
]
}
}