New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

alga-css

Package Overview
Dependencies
Maintainers
1
Versions
173
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alga-css - npm Package Compare versions

Comparing version 0.0.1-alpha3 to 0.0.1-alpha4

.stylelintrc.json

53

gulpfile.js

@@ -9,7 +9,11 @@ const { src, dest, watch, series, parallel } = require('gulp')

const dist = {
css: './dist/',
js: './dist/',
}
const header = `@charset "UTF-8";
/*!
* Alga CSS
* Tedir Ghazali
* licensed under Tedir license
*/
`;
function css() {

@@ -25,49 +29,24 @@ return src('css/app.css', { sourcemaps: true })

require('postcss-custom-properties'),
require('postcss-simple-vars'),
//require('postcss-simple-vars'),
require('postcss-nested'),
require('autoprefixer')
require('autoprefixer'),
require('postcss-header')({ header })
]))
.pipe(rename("alga.css"))
.pipe(dest(dist.css, { sourcemaps: '.' }))
.pipe(dest('./dist/', { sourcemaps: '.' }))
}
function cssMin() {
return src(`${dist.css}alga.css`)
return src('dist/alga.css')
.pipe(cleanCSS({ level: { 1: { specialComments: 0 } } }))
.pipe(rename({ suffix: '.min' }))
.pipe(dest(dist.css))
.pipe(dest('./dist/'))
}
function cssSlim() {
return src('css/slim.css', { sourcemaps: true })
.pipe(postcss([
require('postcss-import'),
require('postcss-mixins')({
mixinsDir: path.join(__dirname, 'css/mixins')
}),
require('tailwindcss'),
//require("stylelint"),
require('postcss-custom-properties'),
require('postcss-simple-vars'),
require('postcss-nested'),
require('autoprefixer')
]))
.pipe(rename("alga-slim.css"))
.pipe(dest(dist.css, { sourcemaps: '.' }))
}
function cssSlimMin() {
return src(`${dist.css}alga-slim.css`)
.pipe(cleanCSS({ level: { 1: { specialComments: 0 } } }))
.pipe(rename({ suffix: '.min' }))
.pipe(dest(dist.css))
}
function watchChanges() {
watch('css/app.css', series(css, cssMin))
watch('css/slim.css', series(cssSlim, cssSlimMin))
}
exports.watch = watchChanges
exports.build = series(css, cssMin, cssSlim, cssSlimMin)
exports.default = series(css, cssMin, cssSlim, cssSlimMin) //watchChanges
exports.build = series(css, cssMin)
exports.default = series(css, cssMin) //watchChanges
{
"name": "alga-css",
"version": "0.0.1-alpha3",
"version": "0.0.1-alpha4",
"description": "Alga CSS is an alternative toolkit based on Tailwind CSS and Bootstrap 5",

@@ -8,3 +8,4 @@ "main": "dist/alga.min.css",

"scripts": {
"test": "gulp"
"build": "gulp",
"lint": "npx stylelint 'dist/*.css'"
},

@@ -39,2 +40,3 @@ "repository": {

"postcss-custom-properties": "^10.0.0",
"postcss-header": "^3.0.1",
"postcss-import": "^13.0.0",

@@ -45,4 +47,8 @@ "postcss-mixins": "^7.0.2",

"stylelint": "^13.8.0",
"stylelint-config-standard": "^20.0.0",
"tailwindcss": "^2.0.1"
},
"dependencies": {
"postcss-selector-parser": "^6.0.4"
}
}

@@ -0,2 +1,9 @@

<p align="center">
<a href="https://tedirghazali.gitbook.io" target="_blank" rel="noopener noreferrer">
<img width="180" src="alga-css-logo.png" alt="Alga CSS logo">
</a>
</p>
<br/>
# Alga CSS (formerly tailstrap)
Alga CSS is an alternative toolkit based on Tailwind CSS and Bootstrap 5 classes. This is not a framework but just CSS for my Vue components

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

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

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

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

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

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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc