Gathering detailed insights and metrics for vue-cli-plugin-postcss-precss
Gathering detailed insights and metrics for vue-cli-plugin-postcss-precss
npm install vue-cli-plugin-postcss-precss
Typescript
Module System
Node Version
NPM Version
47.5
Supply Chain
74.5
Quality
69.3
Maintenance
50
Vulnerability
97.9
License
JavaScript (100%)
Total Downloads
138,561
Last Day
3
Last Week
46
Last Month
326
Last Year
4,438
1 Stars
3 Commits
1 Watching
1 Branches
1 Contributors
Minified
Minified + Gzipped
Latest Version
1.0.1
Package Id
vue-cli-plugin-postcss-precss@1.0.1
Unpacked Size
7.87 kB
Size
3.01 kB
File Count
7
NPM Version
6.1.0
Node Version
10.5.0
Cumulative downloads
Total Downloads
Last day
-85%
3
Compared to previous day
Last week
-58.6%
46
Compared to previous week
Last month
-8.7%
326
Compared to previous month
Last year
-69.8%
4,438
Compared to previous year
Vue CLI 3.x plugin for Postcss. Allow you to use Sass-like markup in your CSS.
First you need to install @vue/cli globally.
Then create a project add add the postcss-precss
plugin:
1vue create hello-world 2cd hello-world 3vue add postcss-precss
You'll be asked some questions regarding how the PostCss Precss configured in your project. After that, you're good to go.
postcss-preset-env
will be default add, so autoprefixer
will be removed from postcss.config.js
. Here also a lot of plugins will be configured.
1// const baseUrl = process.env.VUE_APP_BASE_URL; 2module.exports = { 3 "plugins": { 4 'postcss-assets': { 5 // "baseUrl": baseUrl, // default '/' 6 "cachebuster": true, 7 "loadPaths": ['public/'] 8 }, 9 "postcss-import": {}, 10 "postcss-extend-rule": {}, 11 "postcss-advanced-variables": {}, 12 "postcss-plugin-bem-atrule": { 13 "defaultNamespace": "el", 14 "style": "suit", 15 "separators": { 16 "descendent": "__", 17 "modifier": "--" 18 }, 19 "shortcuts": { 20 "utility": "util", 21 "component": "b", 22 "modifier": "m", 23 "descendent": "e" 24 } 25 }, 26 "postcss-preset-env": { 27 "stage": 2 28 }, 29 "postcss-atroot": {}, 30 "postcss-property-lookup": {}, 31 "postcss-nested": {}, 32 "postcss-nested-ancestors": {}, 33 "postcss-calc": {}, 34 "postcss-sass-color-functions": {}, 35 "lost": false, 36 "postcss-utils": {} 37 } 38}
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 0/3 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Score
Last Scanned on 2025-01-27
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More