@aztlan/swatch
Advanced tools
Comparing version 0.5.0 to 0.6.0
{ | ||
"name": "@aztlan/swatch", | ||
"author": "Adrian V.", | ||
"version": "0.5.0", | ||
"description": "", | ||
"repository": "github:AztlanEngineering/swatch", | ||
"main": "dist/main.min.css", | ||
"keywords": [], | ||
"license": "MIT", | ||
"version": "0.6.0", | ||
"license": "MPLv2", | ||
"style": "src/main.scss", | ||
"main": "src/main.scss", | ||
"scripts": { | ||
"prepublish": "npm run build:main", | ||
"filesize": "node scripts/filesize.js", | ||
"compile:main": "sass src/main.scss dist/main.css -c -I node_modules/ --no-source-map && npm run filesize -- dist/main.css", | ||
"compile:custom": "sass custom.scss custom.css -c -I node_modules/ --no-source-map && npm run filesize -- custom.css", | ||
"minify:main": "postcss dist/main.css -o dist/main.min.css && npm run filesize -- dist/main.min.css", | ||
"minify:custom": "postcss custom.css -o custom.min.css && npm run filesize -- custom.min.css", | ||
"build:main": "npm run compile:main && npm run minify:main", | ||
"build:custom": "npm run compile:custom && npm run minify:custom", | ||
"postinstall": "node ./scripts/postinstall.js", | ||
"testconfig:stylelint": "stylelint src/main.scss", | ||
"version:alpha": "npm version prerelease --preid=alpha", | ||
"version:beta": "npm version prerelease --preid=beta", | ||
"test:stylelint": "stylelint src/**/*.scss --rd --rdd --risd --color --formatter verbose", | ||
"fix:stylelint": "npm run test:stylelint -- --fix", | ||
"test": "npm run test:stylelint" | ||
"compile": "sass src/main.scss dist/main.css && npm run filesize -- dist/main.css", | ||
"minify": "postcss dist/main.css -o dist/main.min.css && npm run filesize -- dist/main.min.css", | ||
"build": "npm run compile && npm run minify", | ||
"prepare": "npm run build", | ||
"filesize": "du --apparent-size -sh ${1}", | ||
"lint:stylelint": "stylelint src/**/*.scss --rd --rdd --risd --color --formatter verbose", | ||
"lint:stylelint:fix": "npm run lint:stylelint -- --fix" | ||
}, | ||
"devDependencies": { | ||
"css-mqpacker": "^7.0.0", | ||
"cssnano": "^5.1.14", | ||
"filesize": "^10.0.6", | ||
"jsonlint": "^1.6.3", | ||
"postcss": "^8.4.21", | ||
"postcss-cli": "^10.1.0", | ||
"postcss-preset-env": "^8.0.1", | ||
"postcss-scss": "^4.0.6", | ||
"sass": "^1.57.1", | ||
"stylelint": "^14.16.1", | ||
"stylelint-config-palantir": "^6.0.1", | ||
"stylelint-scss": "^4.3.0" | ||
"@aztlan/postcss-config": "^0.6.0", | ||
"@aztlan/stylelint-config": "^0.6.0", | ||
"sass": "^1.69.7" | ||
}, | ||
"dependencies": {} | ||
"gitHead": "ab72e47446035ecc22c7f9ebcf1f1e0febaa6146" | ||
} |
@@ -1,19 +0,3 @@ | ||
module.exports = { | ||
plugins: { | ||
'css-mqpacker':{}, | ||
'postcss-preset-env': | ||
{ | ||
stage: 3, | ||
features: { | ||
'custom-properties': false | ||
} | ||
}, | ||
'cssnano': { | ||
'preset':[ | ||
'default', | ||
{ "discardComments": { "removeAll":true }} | ||
] | ||
} | ||
} | ||
} | ||
const config = require("@aztlan/postcss-config") | ||
module.exports = config |
@@ -1,44 +0,3 @@ | ||
module.exports = { | ||
"extends": [ | ||
"stylelint-config-palantir", | ||
"stylelint-config-palantir/sass.js", | ||
], | ||
"rules": { | ||
"indentation": 2, | ||
"number-leading-zero":"never", | ||
'at-rule-no-unknown':[true, | ||
{ | ||
ignoreAtRules: [ | ||
// additional scss at-rules: | ||
"content", "each", "else", "error", "extend", "for", "function", "if", "include", "mixin", "return", "use", "forward" | ||
], | ||
} | ||
], | ||
"at-rule-empty-line-before": ["always", { | ||
"except": ["after-same-name", "inside-block"], | ||
"ignoreAtRules": ["include", "mixin", "function"] | ||
}], | ||
"order/order": [ | ||
[ | ||
"custom-properties", | ||
"at-variables", | ||
"dollar-variables", | ||
"less-mixins", | ||
/* | ||
{ | ||
"type": "at-rule", | ||
"name": "include" | ||
},*/ | ||
"declarations", | ||
"rules", | ||
], | ||
{ unspecified: "ignore" }, | ||
], | ||
"property-no-unknown":[ | ||
true, | ||
{ | ||
ignoreProperties: ['text-stroke', 'font-smooth'], | ||
}, | ||
] | ||
} | ||
} | ||
module.exports = { | ||
extends:['@aztlan/stylelint-config'], | ||
} |
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
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
3
0
1
62838
13
2
70
625
2
2
0
1