@dao42/d42paas-front 0.6.21 → 0.7.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dao42/d42paas-front",
3
- "version": "0.6.21",
3
+ "version": "0.7.1",
4
4
  "description": "> TODO: description",
5
5
  "author": "eric183 <kk297466058@gmail.com>",
6
6
  "homepage": "https://github.com/dao42/d42paas_frontend#readme",
@@ -36,15 +36,14 @@
36
36
  "fix": "eslint --fix --ext .jsx src/**",
37
37
  "copyTS": "shx cp ./src/types/editor.d.ts ./dist",
38
38
  "np": "npm publish --access-public",
39
- "patch": "npm version patch"
39
+ "patch": "yarn vite && npm version patch",
40
+ "test": "jest --verbose"
40
41
  },
41
42
  "dependencies": {
42
- "@dao42/d42paas_rtc": "^0.1.8",
43
- "@headlessui/react": "^1.4.3",
44
- "dayjs": "^1.10.7",
45
- "typescript": "4.5"
43
+ "@dao42/d42paas_rtc": "^0.1.8"
46
44
  },
47
45
  "devDependencies": {
46
+ "@headlessui/react": "^1.4.3",
48
47
  "@babel/core": "^7.9",
49
48
  "@babel/plugin-syntax-dynamic-import": "^7.8.3",
50
49
  "@babel/plugin-transform-runtime": "^7.15.0",
@@ -52,6 +51,7 @@
52
51
  "@babel/preset-react": "^7.14.5",
53
52
  "@babel/preset-typescript": "^7.15.0",
54
53
  "@babel/runtime": "^7.15.4",
54
+ "@clintharris/fake-indexeddb": "^3.1.4",
55
55
  "@emotion/babel-plugin": "^11.3.0",
56
56
  "@emotion/babel-preset-css-prop": "^11.2.0",
57
57
  "@emotion/core": "^11.0.0",
@@ -95,6 +95,7 @@
95
95
  "css-minimizer-webpack-plugin": "^3.1.4",
96
96
  "cssnano": "^5.0.11",
97
97
  "dayjs": "^1.10.7",
98
+ "dexie": "^3.2.0",
98
99
  "dotenv": "^10.0.0",
99
100
  "dotenv-webpack": "^7.0.3",
100
101
  "file-loader": "^6.2.0",
@@ -138,6 +139,7 @@
138
139
  "rxjs": "^7.2.0",
139
140
  "sass": "^1.43.2",
140
141
  "sass-loader": "^12.2.0",
142
+ "showdown": "^2.0.0-alpha",
141
143
  "socket.io": "^4.2.0",
142
144
  "socket.io-client": "^4.2.0",
143
145
  "source-map-loader": "^3.0.0",
@@ -147,10 +149,11 @@
147
149
  "tailwindcss": "^3.0.7",
148
150
  "terser-webpack-plugin": "^5.2.5",
149
151
  "three": "^0.132.2",
150
- "ts-jest": "^27.0.3",
152
+ "ts-jest": "^27.1.3",
151
153
  "ts-loader": "^9.2.5",
152
154
  "ts-node": "^10.0.0",
153
155
  "tsconfig-paths-webpack-plugin": "^3.5.1",
156
+ "typescript": "4.5",
154
157
  "uuid": "^8.3.2",
155
158
  "vite": "^2.7.2",
156
159
  "webpack": "^5.52.0",
@@ -173,5 +176,30 @@
173
176
  "bugs": {
174
177
  "url": "https://github.com/dao42/d42paas_frontend/issues"
175
178
  },
179
+ "jest": {
180
+ "globals": {
181
+ "ts-jest": {
182
+ "tsConfig": "tsconfig.json"
183
+ }
184
+ },
185
+ "preset": "ts-jest",
186
+ "testMatch": [
187
+ "**/__tests__/**/*.ts?(x)",
188
+ "**/?(*.)+(spec|test).ts?(x)"
189
+ ],
190
+ "moduleNameMapper": {
191
+ "^.+\\.css$": "identity-obj-proxy",
192
+ "^(app/.+)$": "<rootDir>/src/$1/",
193
+ "^(components/.+)$": "<rootDir>/src/$1/",
194
+ "^(stores/.+)$": "<rootDir>/src/$1/",
195
+ "^(views/.+)$": "<rootDir>/src/$1/",
196
+ "^(assets/.+)$": "<rootDir>/src/$1/",
197
+ "^(models/.+)$": "<rootDir>/src/$1/",
198
+ "^~/(.*)$": "<rootDir>/src/$1"
199
+ },
200
+ "setupFiles": [
201
+ "<rootDir>/__test__/globals-test.ts"
202
+ ]
203
+ },
176
204
  "gitHead": "492b228acbf6f7bc309984755a8dd948ea6fb0e2"
177
205
  }