-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
90 lines (90 loc) · 3.01 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
{
"name": "react-singleton-context",
"version": "1.1.0",
"description": "A small library designed to register and return singletonized React contexts",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/indeedeng/react-singleton-context"
},
"files": [
"dist",
"src"
],
"main": "dist/cjs/index.js",
"module": "dist/esm/index.mjs",
"cjs": "dist/cjs/index.js",
"esm": "dist/esm/index.mjs",
"es": "dist/esm/index.mjs",
"types": "dist/types/index.d.ts",
"scripts": {
"prebuild": "npm run clean",
"build:ts": "rollup -c ./rollup.config.mjs",
"build:types": "tsc --project ./tsconfig.build.json --emitDeclarationOnly",
"build": "npm run build:ts && npm run build:types",
"package": "npm pack",
"clean": "rm -rf dist stats coverage",
"lint": "eslint ./src",
"lint:fix": "eslint ./src --fix",
"release": "standard-version --no-verify",
"test": "jest",
"test:watch": "jest --watch",
"quality": "npm run lint && npm run test",
"commit": "git-cz",
"commitlint": "commitlint --color --verbose",
"prepare": "husky"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/eslint-parser": "^7.26.5",
"@babel/plugin-transform-runtime": "^7.25.9",
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.26.3",
"@babel/preset-typescript": "^7.26.0",
"@babel/runtime": "^7.26.0",
"@commitlint/cli": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"@commitlint/cz-commitlint": "^19.6.1",
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.18.0",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^28.0.2",
"@rollup/plugin-node-resolve": "^16.0.0",
"@testing-library/jest-dom": "^6.6.3",
"@types/jest": "^29.5.14",
"@types/react": "^19.0.7",
"@typescript-eslint/eslint-plugin": "^8.20.0",
"@typescript-eslint/parser": "^8.20.0",
"commitizen": "^4.3.1",
"eslint": "^9.18.0",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-compat": "^6.0.2",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.37.4",
"globals": "^15.14.0",
"husky": "^9.1.7",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-junit": "^16.0.0",
"lint-staged": "^15.3.0",
"prettier": "^3.4.2",
"react": "^19.0.0",
"rollup": "^4.30.1",
"rollup-plugin-peer-deps-external": "^2.2.4",
"standard-version": "^9.5.0",
"typescript": "^5.7.3"
},
"peerDependencies": {
"react": "^17.0.0 || ^18.0.0 || ^19.0.0"
},
"config": {
"commitizen": {
"path": "@commitlint/cz-commitlint"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": [
"npm run lint:fix"
]
}
}