@dao42/d42paas-front 0.5.2 → 0.5.4

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.
Files changed (1) hide show
  1. package/package.json +8 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dao42/d42paas-front",
3
- "version": "0.5.2",
3
+ "version": "0.5.4",
4
4
  "description": "> TODO: description",
5
5
  "author": "eric183 <kk297466058@gmail.com>",
6
6
  "homepage": "https://github.com/dao42/d42paas_frontend#readme",
@@ -12,6 +12,10 @@
12
12
  ".": {
13
13
  "import": "./dist/DaoPaaS.es.js",
14
14
  "require": "./dist/DaoPaaS.umd.js"
15
+ },
16
+ "./dist/style.css": {
17
+ "import": "./dist/style.css",
18
+ "require": "./dist/style.css"
15
19
  }
16
20
  },
17
21
  "directories": {
@@ -27,10 +31,11 @@
27
31
  "dev": "cross-env TS_NODE_PROJECT=\"tsconfig.dev.json\" webpack serve --open --config ./config/webpack.dev.config.ts",
28
32
  "analyse": "cross-env NODE_ENV=production TS_NODE_PROJECT=\"tsconfig.json\" webpack --config ./config/webpack.analytics.config.js",
29
33
  "vite:dev": "NODE_ENV=development vite serve --host --config ./config/vite.config.ts",
30
- "vite": "NODE_ENV=production vite build --config ./config/vite.config.ts && yarn run copyTS",
34
+ "vite": "NODE_ENV=production vite build --config ./config/vite.config.ts && yarn run copyTS && yarn patch && yarn np",
31
35
  "fix": "eslint --fix --ext .jsx src/**",
32
36
  "copyTS": "shx cp ./src/types/editor.d.ts ./dist",
33
- "np": "npm publish --access-public"
37
+ "np": "npm publish --access-public",
38
+ "patch": "npm version patch"
34
39
  },
35
40
  "dependencies": {
36
41
  "@dao42/d42paas_rtc": "^0.1.8",