unika-components 1.0.0 → 1.0.2

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.
@@ -1,8 +1,4 @@
1
1
 
2
- .uni-image-component {
3
- max-width: 100%;
4
- }
5
-
6
2
  h2.uni-text-component, p.uni-text-component {
7
3
  margin-bottom: 0;
8
4
  }
@@ -14,3 +10,7 @@ button.uni-text-component {
14
10
  box-sizing: border-box;
15
11
  white-space: pre-wrap;
16
12
  }
13
+
14
+ .uni-image-component {
15
+ max-width: 100%;
16
+ }
package/package.json CHANGED
@@ -1,73 +1,70 @@
1
1
  {
2
2
  "name": "unika-components",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "private": false,
5
+ "main": "dist/unika-components.umd.js",
6
+ "module": "dist/unika-components.esm.js",
7
+ "types": "dist/index.d.ts",
8
+ "description": "Unika Vue3 components library",
5
9
  "author": "Jim Yu",
10
+ "license": "MIT",
11
+ "keywords": [
12
+ "Component",
13
+ "UI",
14
+ "Vue"
15
+ ],
16
+ "files": [
17
+ "dist"
18
+ ],
6
19
  "scripts": {
7
20
  "serve": "vue-cli-service serve",
8
- "build": "npm run clean && npm run build:esm && npm run build:umd",
9
- "test:watch": "vue-cli-service test:unit --watch",
10
- "test": "vue-cli-service test:unit",
11
- "lint": "vue-cli-service lint --max-warnings 5",
12
- "build:esm": "rollup --config build/rollup.esm.config.js",
21
+ "build": "npm run build:es && npm run build:umd",
22
+ "lint": "vue-cli-service lint",
23
+ "build:es": "rollup --config build/rollup.esm.config.js",
13
24
  "build:umd": "rollup --config build/rollup.umd.config.js",
14
- "clean": "rimraf ./dist",
15
- "prepublishOnly": "npm run lint && npm run test&& npm run build"
25
+ "test": "vue-cli-service test:unit",
26
+ "test:watch": "vue-cli-service test:unit --watch",
27
+ "prepublishOnly": "npm run test && npm run build"
16
28
  },
17
29
  "husky": {
18
30
  "hooks": {
19
- "pre-commit": "npm run lint && npm run test"
31
+ "pre-commit": "npm run test"
20
32
  }
21
33
  },
22
- "main": "dist/unika-bricks.umd.js",
23
- "module": "dist/unika-bricks.esm.js",
24
- "files": [
25
- "dist"
26
- ],
27
34
  "dependencies": {
28
- "core-js": "^3.6.5",
29
- "lodash-es": "^4.17.20"
35
+ "lodash-es": "^4.17.15"
36
+ },
37
+ "peerDependencies": {
38
+ "vue": "^3.0.0-0"
30
39
  },
31
40
  "devDependencies": {
32
- "@rollup/plugin-node-resolve": "^11.1.1",
33
- "@rollup/plugin-typescript": "^8.1.1",
34
- "@types/jest": "^24.0.19",
35
- "@types/lodash-es": "^4.17.4",
36
- "@typescript-eslint/eslint-plugin": "^2.33.0",
37
- "@typescript-eslint/parser": "^2.33.0",
41
+ "@rollup/plugin-commonjs": "^15.1.0",
42
+ "@rollup/plugin-node-resolve": "^9.0.0",
43
+ "@rollup/plugin-typescript": "^6.1.0",
44
+ "@types/jest": "^26.0.15",
45
+ "@types/lodash-es": "^4.17.3",
46
+ "@typescript-eslint/eslint-plugin": "^4.22.0",
47
+ "@typescript-eslint/parser": "^4.22.0",
38
48
  "@vue/cli-plugin-babel": "~4.5.0",
39
49
  "@vue/cli-plugin-eslint": "~4.5.0",
40
- "@vue/cli-plugin-typescript": "~4.5.0",
41
- "@vue/cli-plugin-unit-jest": "^4.5.11",
50
+ "@vue/cli-plugin-typescript": "^4.5.0",
51
+ "@vue/cli-plugin-unit-jest": "^4.5.8",
42
52
  "@vue/cli-service": "~4.5.0",
43
- "@vue/compiler-sfc": "^3.0.0",
44
- "@vue/eslint-config-typescript": "^5.0.2",
45
- "@vue/test-utils": "^2.0.0-0",
53
+ "@vue/compiler-sfc": "^3.0.0-0",
54
+ "@vue/eslint-config-typescript": "^7.0.0",
55
+ "@vue/test-utils": "^2.0.0-beta.8",
56
+ "babel-eslint": "^10.1.0",
57
+ "cross-env": "^7.0.2",
46
58
  "eslint": "^6.7.2",
47
59
  "eslint-plugin-vue": "^7.0.0-0",
48
- "husky": "^4.3.8",
49
- "rimraf": "^3.0.2",
50
- "rollup": "^2.38.5",
51
- "rollup-plugin-css-only": "^3.1.0",
60
+ "husky": "^4.3.0",
61
+ "rollup": "^2.28.2",
62
+ "rollup-plugin-css-only": "^2.1.0",
63
+ "rollup-plugin-exclude-dependencies-from-bundle": "^1.1.13",
52
64
  "rollup-plugin-typescript2": "^0.29.0",
53
- "rollup-plugin-vue": "^6.0.0",
54
- "typescript": "~3.9.3",
55
- "vue": "^3.0.0",
56
- "vue-jest": "^5.0.0-0"
57
- },
58
- "peerDependencies": {
59
- "vue": "^3.0.0"
60
- },
61
- "homepage": "https://github.com/uniecard/unika-components",
62
- "keywords": [
63
- "Component",
64
- "UI",
65
- "Vue3"
66
- ],
67
- "license": "MIT",
68
- "repository": {
69
- "type": "git",
70
- "url": "https://github.com/uniecard/unika-components"
71
- },
72
- "types": "dist/index.d.ts"
73
- }
65
+ "rollup-plugin-vue": "^6.0.0-beta.10",
66
+ "typescript": "^4.0.5",
67
+ "vue": "^3.0.0-0",
68
+ "vue-jest": "^5.0.0-alpha.5"
69
+ }
70
+ }