Comparing version 1.0.0 to 1.1.0
{ | ||
"name": "sass-bidi", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Handy mixins for handling rtl and ltr at the same time", | ||
"main": "main.scss", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"test": "karma start ./karma.config.js" | ||
}, | ||
@@ -23,3 +23,13 @@ "repository": { | ||
}, | ||
"homepage": "https://github.com/alirezamirian/sass-bidi#readme" | ||
"homepage": "https://github.com/alirezamirian/sass-bidi#readme", | ||
"devDependencies": { | ||
"jasmine-core": "^2.5.2", | ||
"jquery": "^3.1.1", | ||
"karma": "^1.5.0", | ||
"karma-chrome-launcher": "^2.0.0", | ||
"karma-firefox-launcher": "^1.0.1", | ||
"karma-jasmine": "^1.1.0", | ||
"karma-scss-preprocessor": "^2.0.0", | ||
"node-sass": "^4.5.0" | ||
} | ||
} |
# sass-bidi | ||
Handy mixins for handling rtl and ltr at the same time | ||
# Installation | ||
``` | ||
npm install sass-bidi --save-dev | ||
``` | ||
# Usage | ||
```sass | ||
// some-of-your-scss-files.scss | ||
@import '../node_modules/sass-bidi/main'; | ||
.some-selector{ | ||
// set float to left for ltr and right for rtl | ||
@include bidi-value(float, left, right); | ||
// set 10px left-padding for ltr and right-padding for rtl | ||
@include bidi-prop(padding-left, padding-right, 10px); | ||
} | ||
``` |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
61750
17
202
0
18
8
2