comp-xyz 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -0
- package/lib/cjs/index.js +1767 -0
- package/lib/cjs/index.js.map +1 -0
- package/lib/esm/index.js +1767 -0
- package/lib/esm/index.js.map +1 -0
- package/package.json +124 -0
package/package.json
ADDED
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "comp-xyz",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "Core component for admin interface development. It supports both ReactJS and NextJS.",
|
|
5
|
+
"author": "HTC Team",
|
|
6
|
+
"dependencies": {
|
|
7
|
+
"@popperjs/core": "^2.11.8",
|
|
8
|
+
"@storybook/addon-styling": "^1.3.2",
|
|
9
|
+
"bootstrap": "^5.3.0",
|
|
10
|
+
"chart.js": "^4.4.0",
|
|
11
|
+
"firebase": "^9.23.0",
|
|
12
|
+
"google-libphonenumber": "^3.2.32",
|
|
13
|
+
"html-react-parser": "^4.0.0",
|
|
14
|
+
"lint-staged": "^13.2.1",
|
|
15
|
+
"lodash": "^4.17.21",
|
|
16
|
+
"primeflex": "^3.3.1",
|
|
17
|
+
"primeicons": "^6.0.1",
|
|
18
|
+
"primereact": "^9.2.3",
|
|
19
|
+
"prop-types": "^15.8.1",
|
|
20
|
+
"react": "^18.2.0",
|
|
21
|
+
"react-dom": "^18.2.0",
|
|
22
|
+
"react-hook-form": "^7.45.2",
|
|
23
|
+
"react-phone-input-2": "^2.15.1",
|
|
24
|
+
"react-quill": "^2.0.0",
|
|
25
|
+
"react-scripts": "5.0.1",
|
|
26
|
+
"react-select": "^5.7.4",
|
|
27
|
+
"sass": "^1.62.0",
|
|
28
|
+
"ts-dedent": "^2.2.0",
|
|
29
|
+
"xlsx": "^0.18.5"
|
|
30
|
+
},
|
|
31
|
+
"keywords": [
|
|
32
|
+
"react",
|
|
33
|
+
"redux",
|
|
34
|
+
"NextJS"
|
|
35
|
+
],
|
|
36
|
+
"scripts": {
|
|
37
|
+
"start": "react-scripts start",
|
|
38
|
+
"build": "react-scripts build",
|
|
39
|
+
"test": "react-scripts test",
|
|
40
|
+
"build-package": "rollup -c",
|
|
41
|
+
"publish-package": "npm publish",
|
|
42
|
+
"depcheck": "depcheck --ignore-patterns=.cache/,public/ --ignores=redux-logger,gatsby-plugin*eslint",
|
|
43
|
+
"lint": "eslint --ext .jsx,.js",
|
|
44
|
+
"lint:fix": "eslint src/**/*.jsx --fix",
|
|
45
|
+
"prepare": "husky install",
|
|
46
|
+
"storybook": "storybook dev -p 6006",
|
|
47
|
+
"build-storybook": "storybook build",
|
|
48
|
+
"serve-storybook": "serve storybook-static -p 5050"
|
|
49
|
+
},
|
|
50
|
+
"eslintConfig": {
|
|
51
|
+
"extends": [
|
|
52
|
+
"react-app",
|
|
53
|
+
"react-app/jest"
|
|
54
|
+
],
|
|
55
|
+
"overrides": [
|
|
56
|
+
{
|
|
57
|
+
"files": [
|
|
58
|
+
"**/*.stories.*"
|
|
59
|
+
],
|
|
60
|
+
"rules": {
|
|
61
|
+
"import/no-anonymous-default-export": "off"
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
},
|
|
66
|
+
"browserslist": {
|
|
67
|
+
"production": [
|
|
68
|
+
">0.2%",
|
|
69
|
+
"not dead",
|
|
70
|
+
"not op_mini all"
|
|
71
|
+
],
|
|
72
|
+
"development": [
|
|
73
|
+
"last 1 chrome version",
|
|
74
|
+
"last 1 firefox version",
|
|
75
|
+
"last 1 safari version"
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
"main": "lib/cjs/index.js",
|
|
79
|
+
"module": "lib/esm/index.js",
|
|
80
|
+
"files": [
|
|
81
|
+
"lib"
|
|
82
|
+
],
|
|
83
|
+
"devDependencies": {
|
|
84
|
+
"@babel/plugin-transform-runtime": "^7.21.4",
|
|
85
|
+
"@babel/preset-env": "^7.21.4",
|
|
86
|
+
"@babel/preset-react": "^7.18.6",
|
|
87
|
+
"@rollup/plugin-babel": "^6.0.3",
|
|
88
|
+
"@rollup/plugin-commonjs": "^24.1.0",
|
|
89
|
+
"@rollup/plugin-image": "^3.0.2",
|
|
90
|
+
"@rollup/plugin-node-resolve": "^15.0.2",
|
|
91
|
+
"@storybook/addon-docs": "^7.0.6",
|
|
92
|
+
"@storybook/addon-essentials": "^7.0.5",
|
|
93
|
+
"@storybook/addon-interactions": "^7.0.5",
|
|
94
|
+
"@storybook/addon-links": "^7.0.5",
|
|
95
|
+
"@storybook/blocks": "^7.0.5",
|
|
96
|
+
"@storybook/builder-webpack5": "^7.3.0",
|
|
97
|
+
"@storybook/preset-create-react-app": "^7.0.5",
|
|
98
|
+
"@storybook/react": "^7.0.5",
|
|
99
|
+
"@storybook/react-webpack5": "^7.0.5",
|
|
100
|
+
"@storybook/testing-library": "^0.0.14-next.2",
|
|
101
|
+
"babel-eslint": "^10.1.0",
|
|
102
|
+
"babel-plugin-named-exports-order": "^0.0.2",
|
|
103
|
+
"depcheck": "^1.4.3",
|
|
104
|
+
"eslint": "^7.32.0",
|
|
105
|
+
"eslint-config-airbnb": "^19.0.4",
|
|
106
|
+
"eslint-config-prettier": "^8.6.0",
|
|
107
|
+
"eslint-plugin-import": "^2.27.5",
|
|
108
|
+
"eslint-plugin-jsx-a11y": "^6.7.1",
|
|
109
|
+
"eslint-plugin-prettier": "^4.2.1",
|
|
110
|
+
"eslint-plugin-react": "^7.29.4",
|
|
111
|
+
"eslint-plugin-react-hooks": "^4.3.0",
|
|
112
|
+
"husky": "^7.0.4",
|
|
113
|
+
"prettier": "2.8.3",
|
|
114
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
115
|
+
"rollup-plugin-terser": "^7.0.2",
|
|
116
|
+
"storybook": "^7.0.5",
|
|
117
|
+
"webpack": "^5.79.0"
|
|
118
|
+
},
|
|
119
|
+
"lint-staged": {
|
|
120
|
+
"src/**/*.jsx": [
|
|
121
|
+
"eslint --fix"
|
|
122
|
+
]
|
|
123
|
+
}
|
|
124
|
+
}
|