-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
83 lines (83 loc) · 2.16 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
{
"name": "cb-storage",
"version": "1.0.6",
"description": "Storage services and hooks for React app",
"author": "Hien CB",
"repository": {
"type": "git",
"url": "https://github.com/ICodeMyOwnLife/cb-storage.git"
},
"license": "MIT",
"private": false,
"source": "src/index.ts",
"main": "dist/index.js",
"module": "dist/index.js",
"umd:main": "dist/index.umd.js",
"types": "dist/index.d.ts",
"files": [
"dist/"
],
"sideEffects": false,
"scripts": {
"build": "rollup -c rollup/rollup.config.js",
"build:config": "tsc -p rollup",
"build:type": "tsc --emitDeclarationOnly -p .",
"commit": "git-cz",
"dev": "rollup -w -c rollup/rollup.config.js",
"format": "prettier --write \"src/**/*.{ts,tsx,md}\"",
"lint": "eslint 'src/**/*.{ts,tsx}'",
"lint:fix": "yarn lint --fix",
"prebuild": "del dist",
"prepublishOnly": "yarn build",
"release": "release-it --ci",
"size": "size-limit",
"type-check": "tsc --noEmit"
},
"devDependencies": {
"@commitlint/cli": "^9.0.1",
"@commitlint/config-conventional": "^9.0.1",
"@release-it/conventional-changelog": "^1.1.4",
"@size-limit/preset-small-lib": "^4.3.1",
"@types/react": "^16.9.41",
"commitizen": "^4.1.2",
"cz-conventional-changelog": "^3.2.0",
"del-cli": "^3.0.1",
"eslint": "^7.0.0",
"eslint-config-react-ts": "^2.1.0",
"husky": "^4.2.5",
"lint-staged": "^10.2.4",
"release-it": "^13.6.4",
"rollup": "^2.10.4",
"rollup-plugin-cleanup": "^3.1.1",
"rollup-plugin-filesize": "^9.0.0",
"rollup-plugin-typescript2": "^0.27.1",
"size-limit": "^4.5.0",
"typescript": "^3.9.2"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "yarn type-check && yarn lint-staged && yarn size"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"yarn lint:fix"
],
"{*.{json,md}}": [
"prettier --write"
]
},
"engines": {
"node": ">= 12.0.0"
},
"peerDependencies": {
"react": "^16.8",
"react-dom": "^16.8"
}
}