-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
84 lines (84 loc) · 2.65 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
{
"name": "use-optimistic-update",
"version": "0.0.4",
"description": "Tools to build Optimistic UIs",
"keywords": [
"react",
"optimistic"
],
"repository": "karolis-sh/use-optimistic-update",
"license": "MIT",
"author": "Karolis Šarapnickis",
"sideEffects": false,
"main": "lib/cjs/index.js",
"module": "lib/es/index.js",
"types": "lib/index.d.ts",
"scripts": {
"build": "run-p build:*",
"build-web": "cd web && yarn build",
"build:cjs": "tsc --module commonjs --outDir lib/cjs",
"build:es": "tsc --module esnext --outDir lib/es",
"build:types": "tsc --outFile lib/index.d.ts --declaration --emitDeclarationOnly && sh scripts/types.sh",
"clean": "rm -rf lib",
"commit": "npx cz",
"format": "run-p format:*",
"format:package-json": "sort-package-json package.json",
"format:prettier": "prettier --write '**/*.*'",
"lint": "run-p lint:*",
"lint:js": "eslint . --ignore-path .gitignore --cache",
"lint:md": "markdownlint-cli2 '**/*.md' '!node_modules' '!**/node_modules' '!**/CHANGELOG.md'",
"lint:types": "tsc --noEmit",
"prepare": "husky install",
"qa": "run-p lint test",
"release": "yarn && run-s clean build qa && standard-version --no-verify && git push --follow-tags --no-verify && npm publish",
"setup": "cd web && yarn",
"start": "yarn build && yarn build:es --watch",
"tdd": "yarn test --watch",
"test": "jest"
},
"lint-staged": {
"**/package.json": "sort-package-json",
"*.{js,ts,tsx}": "eslint --fix"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"dependencies": {
"nanoevents": "^5.1.8"
},
"devDependencies": {
"@commitlint/cli": "^13.1.0",
"@commitlint/config-conventional": "^13.1.0",
"@k.sh/eslint-plugin": "^0.8.0",
"@k.sh/prettier-config": "^0.4.1",
"@k.sh/typescript-config": "^0.4.0",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.0.4",
"@testing-library/react-hooks": "^3.4.2",
"@types/jest": "^26.0.14",
"@types/react": "^16.9.52",
"@types/react-dom": "^16.9.6",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.32.0",
"husky": "^8.0.3",
"jest": "^27.2.0",
"lint-staged": "^13.1.0",
"markdownlint-cli2": "^0.6.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.1",
"prettier-plugin-sh": "^0.12.8",
"pretty-quick": "^3.1.3",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-test-renderer": "^16.13.1",
"sort-package-json": "^2.1.0",
"standard-version": "^9.3.1",
"ts-jest": "^27.0.5",
"typescript": "^4.4.3"
},
"peerDependencies": {
"react": "^16.8.0"
}
}