postcss-amp-custom
Advanced tools
Comparing version 1.3.1 to 1.4.0-alpha.0
{ | ||
"name": "postcss-amp-custom", | ||
"version": "1.3.1", | ||
"version": "1.4.0-alpha.0", | ||
"author": "kimulaco", | ||
@@ -19,25 +19,28 @@ "license": "MIT", | ||
}, | ||
"main": "postcss-amp-custom.js", | ||
"main": "index.js", | ||
"engines": { | ||
"node": ">=6.0.0" | ||
"node": ">=10.0.0" | ||
}, | ||
"scripts": { | ||
"lint": "eslint **/*.js -c .eslintrc.js", | ||
"test": "jest --silent --verbose" | ||
"test": "jest --verbose", | ||
"pretest": "node scripts/setup-test.js test/fixtures" | ||
}, | ||
"dependencies": { | ||
"amp-custom": "^1.3.0", | ||
"postcss": "^7.0.18" | ||
"amp-custom": "^1.3.0" | ||
}, | ||
"peerDependencies": { | ||
"postcss": "^8.2.1" | ||
}, | ||
"devDependencies": { | ||
"del-cli": "^3.0.0", | ||
"eslint": "^6.5.1", | ||
"eslint-config-standard": "^14.1.0", | ||
"eslint-plugin-import": "^2.18.2", | ||
"eslint-plugin-node": "^10.0.0", | ||
"eslint": "^7.16.0", | ||
"eslint-config-standard": "^16.0.2", | ||
"eslint-plugin-import": "^2.22.1", | ||
"eslint-plugin-node": "^11.1.0", | ||
"eslint-plugin-promise": "^4.2.1", | ||
"eslint-plugin-standard": "^4.0.1", | ||
"jest": "^24.9.0", | ||
"postcss-cli": "^6.1.3" | ||
"eslint-plugin-standard": "^4.1.0", | ||
"jest": "^26.6.3", | ||
"postcss": "^8.2.1", | ||
"postcss-cli": "^8.3.1" | ||
} | ||
} |
@@ -5,3 +5,3 @@ # postcss-amp-custom | ||
[![npm version](https://badge.fury.io/js/postcss-amp-custom.svg)](https://badge.fury.io/js/postcss-amp-custom) | ||
[![Build Status](https://travis-ci.org/kimulaco/postcss-amp-custom.svg?branch=master)](https://travis-ci.org/kimulaco/postcss-amp-custom) | ||
[![Build Status](https://github.com/kimulaco/postcss-amp-custom/workflows/Test/badge.svg)](https://github.com/kimulaco/postcss-amp-custom/actions) | ||
@@ -23,8 +23,8 @@ PostCSS plugin to optimize CSS source for AMP HTML. | ||
module.exports = () => ({ | ||
plugins: [ | ||
require('postcss-amp-custom')({ | ||
enableByteLimit: true | ||
}) | ||
] | ||
}); | ||
plugins: [ | ||
require('postcss-amp-custom')({ | ||
enableByteLimit: true | ||
}) | ||
] | ||
}) | ||
``` | ||
@@ -71,3 +71,3 @@ | ||
- enableByteLimit `Boolean` - If the CSS source exceeds 50 KB, it issues an error.(Default: `false`) | ||
- enableByteLimit `Boolean` - If the CSS source exceeds 75KB, it issues an error.(Default: `false`) | ||
@@ -74,0 +74,0 @@ ## Plugins |
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 v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
77220
19
1946
1
3
2
+ Addednanoid@3.3.7(transitive)
+ Addedpicocolors@1.0.1(transitive)
+ Addedpostcss@8.4.38(transitive)
+ Addedsource-map-js@1.2.0(transitive)
- Removedpostcss@^7.0.18
- Removedpicocolors@0.2.1(transitive)
- Removedpostcss@7.0.39(transitive)