-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
82 lines (82 loc) · 2.47 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
{
"name": "kerosene",
"version": "1.0.0",
"description": "A collection of useful modules",
"main": "index.js",
"repository": "https://github.com/KablamoOSS/kerosene",
"author": "Kablamo",
"license": "MIT",
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"postinstall": "patch-package && manypkg check",
"prebuild": "yarn workspace @kablamo/rollup-plugin-resolve-externals run build && yarn workspace @kablamo/kerosene run build",
"build": "yarn workspaces run build",
"clean": "yarn workspaces run clean",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"prettier:check": "prettier --check packages/**/*.ts packages/**/*.tsx",
"test": "jest --expand --coverage",
"test:coverage": "jest --coverage --coverageReporters=lcov --coverageDirectory=coverage",
"watch": "jest --verbose=false --watch",
"release": "yarn build && changeset publish"
},
"jest": {
"preset": "ts-jest/presets/js-with-ts",
"testEnvironment": "jsdom",
"setupFilesAfterEnv": [
"<rootDir>/testSetup.ts"
],
"transform": {
"^.+\\.(?:[jt]sx?)$": [
"ts-jest",
{
"diagnostics": false,
"isolatedModules": true
}
]
},
"collectCoverageFrom": [
"<rootDir>/packages/**/*.(js|jsx|ts|tsx)",
"!<rootDir>/packages/*/(.dist|dist|es|lib)/**/*",
"!**/*.(spec|test).*",
"!**/rollup.config.js",
"!**/rollup-config.ts"
]
},
"dependencies": {
"@changesets/cli": "^2.27.9",
"@manypkg/cli": "^0.22.0",
"@testing-library/jest-dom": "^6.6.3",
"@types/jest": "^29.5.14",
"@types/jest-when": "^3.5.5",
"@types/lodash": "^4.17.13",
"@types/node": "^22.10.1",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@typescript-eslint/eslint-plugin": "^8.16.0",
"@typescript-eslint/parser": "^8.16.0",
"core-js": "^3.39.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-node": "^0.3.9",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.37.2",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jsdom": "^25.0.1",
"jsdom-global": "^3.0.2",
"lodash": "^4.17.21",
"npm-run-all": "^4.1.5",
"patch-package": "^8.0.0",
"postinstall-postinstall": "^2.1.0",
"prettier": "^3.4.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"rimraf": "^6.0.1",
"ts-jest": "^29.2.5",
"typescript": "^5.7.2"
}
}