-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
107 lines (107 loc) · 3.03 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
{
"name": "code-input-react",
"version": "0.0.6",
"description": "best code input for react",
"author": "wintpann",
"keywords": [
"react",
"input",
"code",
"auth",
"otp"
],
"private": false,
"homepage": "https://github.com/wintpann/code-input-react",
"repository": {
"type": "git",
"url": "https://github.com/wintpann/code-input-react.git"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/wintpann/code-input-react/issues",
"email": "[email protected]"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"main": "dist/index.js",
"types": "dist/types/index.d.ts",
"files": [
"dist"
],
"scripts": {
"install-all": "yarn install && yarn --cwd example install",
"prettier": "prettier --write src --ignore-unknown",
"eslint": "eslint --fix src --ext .js,.jsx,.ts,.tsx",
"lint": "yarn typecheck && yarn eslint && yarn prettier",
"typecheck": "tsc --noEmit",
"build:prod": "npx cross-env NODE_ENV=production rollup -c",
"build:types": "tsc --emitDeclarationOnly",
"build:example": "yarn --cwd example build",
"install:example": "yarn --cwd example install",
"dev": "npx cross-env DISABLE_ESLINT_PLUGIN=true react-app-rewired start",
"build": "yarn lint && rimraf dist && yarn build:types && yarn build:prod",
"release": "yarn build && npx np"
},
"browserslist": [
">0.2%",
"not dead",
"not op_mini all"
],
"peerDependencies": {
"react": ">=16.8.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^22.0.1",
"@rollup/plugin-node-resolve": "^13.3.0",
"@rollup/plugin-typescript": "^8.3.3",
"@rollup/plugin-url": "^7.0.0",
"@svgr/rollup": "^6.2.1",
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"@typescript-eslint/eslint-plugin": "^5.30.6",
"@typescript-eslint/parser": "^5.30.6",
"autoprefixer": "^10.4.7",
"concurrently": "^7.2.2",
"cross-env": "^7.0.3",
"cssnano": "^5.1.12",
"eslint": "^8.20.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-unicorn": "^43.0.1",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"node-sass": "^7.0.1",
"np": "^7.6.2",
"postcss": "^8.4.14",
"prettier": "^2.7.1",
"react": "^18.2.0",
"react-app-rewired": "^2.2.1",
"react-dom": "^18.2.0",
"react-scripts": "^5.0.1",
"rimraf": "^3.0.2",
"rollup": "^2.77.0",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-terser": "^7.0.2",
"storybox-react": "^1.0.9",
"tslib": "^2.4.0",
"typescript": "^4.7.4"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix --ext .js,.jsx,.ts,.tsx",
"prettier --write --ignore-unknown"
],
"*.{css,scss}": [
"prettier --write --ignore-unknown"
]
},
"dependencies": {
"classnames": "^2.3.1"
}
}