Comparing version 1.7.1 to 1.7.2
{ | ||
"name": "@58fe/v5", | ||
"version": "1.7.1", | ||
"version": "1.7.2", | ||
"main": "src/index.js", | ||
@@ -9,9 +9,7 @@ "description": "vue components", | ||
"commit": "git-cz ", | ||
"changelog": | ||
"conventional-changelog -p angular -i CHANGELOG.md -s -r 0", | ||
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0", | ||
"dev": "node build/dev-server.js", | ||
"start": "node build/dev-server.js", | ||
"build": "node build/build.js", | ||
"unit": | ||
"cross-env BABEL_ENV=test karma start test/unit/karma.conf.js --single-run", | ||
"unit": "cross-env BABEL_ENV=test karma start test/unit/karma.conf.js --single-run", | ||
"e2e": "node test/e2e/runner.js", | ||
@@ -18,0 +16,0 @@ "test": "npm run unit && npm run e2e" |
@@ -24,3 +24,3 @@ # V5 | ||
```sh | ||
npm install babel-plugin-import --save-dev | ||
npm install @58fe/babel-plugin-v5-import --save-dev | ||
``` | ||
@@ -32,11 +32,3 @@ | ||
{ | ||
"plugins": [ | ||
[ | ||
"import", | ||
{ | ||
"libraryName": "@58fe/v5", | ||
"libraryDirectory": "src/components" | ||
} | ||
] | ||
] | ||
"plugins": ["@58fe/babel-plugin-v5-import"] | ||
} | ||
@@ -46,5 +38,7 @@ ``` | ||
## 其他 | ||
### 1、打包时抛出 'These dependencies were not found: | ||
原因是 V5 的样式是基于sass编写的,所以需要依赖以下两个npm包: | ||
原因是 V5 的样式是基于 sass 编写的,所以需要依赖以下两个 npm 包: | ||
```sh | ||
@@ -51,0 +45,0 @@ npm install sass-loader node-sass --save-dev |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
200960
55