tenjin-ui-kit 0.1.1 → 0.2.3

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/.dockerignore ADDED
@@ -0,0 +1,6 @@
1
+ node_modules
2
+ build
3
+ .dockerignore
4
+ Dockerfile
5
+ Dockerfile.prod
6
+ storybook-static
package/Dockerfile ADDED
@@ -0,0 +1,15 @@
1
+ # build environment
2
+ FROM node:16-alpine as build
3
+ WORKDIR /app
4
+ ENV PATH /app/node_modules/.bin:$PATH
5
+ COPY package.json ./
6
+ COPY package-lock.json ./
7
+ COPY . ./
8
+ RUN npm install
9
+ RUN npm run build-storybook
10
+ RUN npm run compile
11
+ RUN cp ./package.json ./dist
12
+ RUN cp ./README.md ./dist
13
+ RUN cd dist
14
+ RUN npm publish
15
+
@@ -0,0 +1,90 @@
1
+ {
2
+ "name": "tenjin-ui-kit",
3
+ "version": "0.2.1",
4
+ "repository": {
5
+ "url": "https://gitlab.com/yethi/react/tenjin-ui-kit.git"
6
+ },
7
+ "dependencies": {
8
+ "@testing-library/jest-dom": "^5.16.5",
9
+ "@testing-library/react": "^13.4.0",
10
+ "@testing-library/user-event": "^13.5.0",
11
+ "react-scripts": "5.0.1",
12
+ "web-vitals": "^2.1.4"
13
+ },
14
+ "scripts": {
15
+ "start": "react-scripts start",
16
+ "build": "react-scripts build",
17
+ "test": "react-scripts test",
18
+ "eject": "react-scripts eject",
19
+ "storybook": "start-storybook -p 6006 -s public",
20
+ "build-storybook": "build-storybook -s public",
21
+ "clean": "rimraf dist",
22
+ "compile": "npm run clean && cross-env NODE_ENV=production babel src/package --out-dir dist --copy-files --ignore __tests__,spec.js,test.js,stories.js,__snapshots__"
23
+ },
24
+ "eslintConfig": {
25
+ "extends": [
26
+ "react-app",
27
+ "react-app/jest"
28
+ ],
29
+ "overrides": [
30
+ {
31
+ "files": [
32
+ "**/*.stories.*"
33
+ ],
34
+ "rules": {
35
+ "import/no-anonymous-default-export": "off"
36
+ }
37
+ }
38
+ ]
39
+ },
40
+ "browserslist": {
41
+ "production": [
42
+ ">0.2%",
43
+ "not dead",
44
+ "not op_mini all"
45
+ ],
46
+ "development": [
47
+ "last 1 chrome version",
48
+ "last 1 firefox version",
49
+ "last 1 safari version"
50
+ ]
51
+ },
52
+ "devDependencies": {
53
+ "@babel/cli": "^7.20.7",
54
+ "@babel/preset-env": "^7.20.2",
55
+ "@babel/preset-react": "^7.18.6",
56
+ "@emotion/react": "^11.10.5",
57
+ "@emotion/styled": "^11.10.5",
58
+ "@mui/material": "^5.11.3",
59
+ "@storybook/addon-actions": "^6.5.15",
60
+ "@storybook/addon-essentials": "^6.5.15",
61
+ "@storybook/addon-interactions": "^6.5.15",
62
+ "@storybook/addon-links": "^6.5.15",
63
+ "@storybook/builder-webpack5": "^6.5.15",
64
+ "@storybook/manager-webpack5": "^6.5.15",
65
+ "@storybook/node-logger": "^6.5.15",
66
+ "@storybook/preset-create-react-app": "^4.1.2",
67
+ "@storybook/react": "^6.5.15",
68
+ "@storybook/testing-library": "^0.0.13",
69
+ "babel-plugin-named-exports-order": "^0.0.2",
70
+ "cross-env": "^7.0.3",
71
+ "prop-types": "^15.8.1",
72
+ "react": "^18.2.0",
73
+ "react-dom": "^18.2.0",
74
+ "react-router-dom": "^6.6.1",
75
+ "rimraf": "^3.0.2",
76
+ "webpack": "^5.75.0"
77
+ },
78
+ "peerDependencies": {
79
+ "@emotion/react": "^11.10.5",
80
+ "@emotion/styled": "^11.10.5",
81
+ "@mui/material": "^5.11.3",
82
+ "@testing-library/jest-dom": "^5.16.5",
83
+ "@testing-library/react": "^13.4.0",
84
+ "@testing-library/user-event": "^13.5.0",
85
+ "axios": "^1.2.2",
86
+ "react": "^18.2.0",
87
+ "react-dom": "^18.2.0",
88
+ "react-router-dom": "^6.6.1"
89
+ }
90
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tenjin-ui-kit",
3
- "version": "0.1.1",
3
+ "version": "0.2.3",
4
4
  "repository": {
5
5
  "url": "https://gitlab.com/yethi/react/tenjin-ui-kit.git"
6
6
  },