-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
88 lines (88 loc) · 2.93 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
{
"name": "react-singleton-context",
"version": "1.0.5",
"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 install"
},
"devDependencies": {
"@babel/core": "^7.23.9",
"@babel/eslint-parser": "^7.23.10",
"@babel/plugin-transform-runtime": "^7.23.9",
"@babel/preset-env": "^7.23.9",
"@babel/preset-react": "^7.23.3",
"@babel/preset-typescript": "^7.23.3",
"@babel/runtime": "^7.23.9",
"@commitlint/cli": "^18.6.0",
"@commitlint/config-conventional": "^18.6.0",
"@commitlint/cz-commitlint": "^18.6.0",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
"@testing-library/jest-dom": "^6.4.2",
"@types/jest": "^29.5.12",
"@types/react": "^18.2.55",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"commitizen": "^4.3.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-compat": "^4.2.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.33.2",
"husky": "^8.0.3",
"inquirer": "^8.2.6",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-junit": "^16.0.0",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"react": "^18.2.0",
"rollup": "^4.10.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"standard-version": "^9.5.0",
"typescript": "^5.3.3"
},
"peerDependencies": {
"react": "^17.0.0 || ^18.0.0"
},
"config": {
"commitizen": {
"path": "@commitlint/cz-commitlint"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": [
"npm run lint:fix"
]
}
}