-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
77 lines (77 loc) · 2.51 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
{
"name": "@penseapp/uselocalstorage",
"version": "1.0.24",
"description": "A react hooks to use useState with localStorage persist",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"private": false,
"repository": {
"type": "git",
"url": "git+https://github.com/penseapp/useLocalStorage.git"
},
"homepage": "https://penseapp-uselocalstoragereduce.web.app",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"lint": "FORCE_COLOR=true eslint ./src/**/*.{ts,tsx} --max-warnings=0 --format=codeframe",
"prettier": "FORCE_COLOR=true prettier --write './src/**/*.{jsx,tsx,ts,js,md}' && prettier --write './README.md'",
"i-all": "npm i && cd playground && npm i",
"build": "rollup -c",
"build:ts": "tsc",
"build-watch": "rollup -c -w",
"build:all": "npm-run-all build build:playground build:ts",
"start-playground": "cd playground && npm run start",
"build:playground": "cd playground && npm run build",
"install:playground": "cd playground && npm i-all",
"dev": "npm-run-all --parallel build-watch start-playground",
"clean:playground": "rm -rf ./playground/node_modules && rm /playground/package-lock.json",
"clean": "rm -rf ./node_modules && rm package-lock.json",
"clean:all": "npm-run-all --parallel clean clean:playground"
},
"keywords": [
"react",
"hooks",
"localStorage",
"useState"
],
"author": "@joaomantovani",
"license": "MIT",
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@types/expired-storage": "^1.0.0",
"@types/react": "^17.0.2",
"@types/react-dom": "^17.0.1",
"@types/styled-components": "^5.1.7",
"@typescript-eslint/eslint-plugin": "^4.15.2",
"@typescript-eslint/parser": "^4.15.2",
"eslint": "^7.15.0",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^4.0.6",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.1",
"pretty-quick": "^3.1.0",
"rollup": "^2.40.0",
"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-typescript2": "^0.30.0",
"typescript": "^4.2.2"
},
"peerDependencies": {
"react": "^17.0.1",
"react-dom": "^17.0.1"
},
"files": [
"dist/**/*"
],
"dependencies": {
"expired-storage": "^1.0.2"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged",
"pre-push": "yarn && yarn build:all && yarn lint",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}