-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
118 lines (118 loc) · 3.17 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"name": "@inva-ui/react",
"version": "0.1.23",
"description": "Inva UI is a modular, accessible building blocks library for you to start off your react projects easily",
"keywords": [
"react",
"components",
"ui"
],
"author": "Shaun Mak",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"files": [
"dist",
"README.md"
],
"repository": {
"type": "git",
"url": "git@github.com:Shaunmak1214/InvaUI.git"
},
"dependencies": {
"@babel/polyfill": "^7.12.1",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"@types/jest": "^26.0.15",
"@types/node": "^12.0.0",
"react-router": "^5.2.1",
"react-router-dom": "^5.2.1",
"react-scripts": "4.0.3",
"styled-components": "^5.3.1",
"web-vitals": "^1.0.1"
},
"peerDependencies": {
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"scripts": {
"bash-prepare": "chmod 755 emitFiles.sh && chmod 755 deploy.sh && chmod 755 versioning.sh",
"start": "react-scripts start",
"ts-build": " rm -rf dist && npm run ts-build:esm && npm run ts-build:cjs",
"ts-build:esm": "tsc",
"ts-build:cjs": "tsc --module commonjs --outDir dist/cjs",
"build": "rm -rf dist && NODE_ENV=production babel src/lib --out-dir dist --copy-files",
"test": "react-scripts test",
"eject": "react-scripts eject",
"storybook": "start-storybook -p 6006 -s public",
"build-storybook": "build-storybook -s public",
"npm-publish": "./emitFiles.sh && npm run ts-build && npm publish --access=public"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
],
"overrides": [
{
"files": [
"**/*.stories.*"
],
"rules": {
"import/no-anonymous-default-export": "off"
}
}
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,ts,jsx,tsx}": [
"npx eslint --fix",
"npx prettier --write --ignore-unknown"
],
"*.+(json|css|md)": [
"prettier --write"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@babel/cli": "^7.14.8",
"@babel/core": "^7.15.0",
"@babel/preset-env": "^7.15.0",
"@storybook/addon-actions": "^6.3.7",
"@storybook/addon-essentials": "^6.3.7",
"@storybook/addon-links": "^6.3.7",
"@storybook/node-logger": "^6.3.7",
"@storybook/preset-create-react-app": "^3.2.0",
"@storybook/react": "^6.3.7",
"@types/react": "^17.0.19",
"@types/react-dom": "^17.0.9",
"@types/styled-components": "^5.1.13",
"@typescript-eslint/eslint-plugin": "^4.29.3",
"@typescript-eslint/parser": "^4.29.3",
"eslint": "^7.32.0",
"eslint-plugin-react": "^7.24.0",
"husky": "^4.3.8",
"lint-staged": "^11.1.2",
"prettier": "2.3.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"typescript": "^4.4.2"
}
}