postcss-nested-props
Advanced tools
Comparing version 1.1.7 to 2.0.0
@@ -0,1 +1,4 @@ | ||
## 2.0.0 | ||
**Breaking:** Upgrade to PostCSS 6 (no longer works with PostCSS 5). | ||
## 1.1.7 | ||
@@ -2,0 +5,0 @@ - Fix module resolution ([#26](https://github.com/jedmao/postcss-nested-props/pull/26)). |
@@ -49,3 +49,3 @@ "use strict"; | ||
rule.walkDecls(decl2 => { | ||
decl2.moveBefore(rule); | ||
rule.before(decl2.remove()); | ||
}); | ||
@@ -52,0 +52,0 @@ rule.remove(); |
{ | ||
"name": "postcss-nested-props", | ||
"version": "1.1.7", | ||
"version": "2.0.0", | ||
"description": "PostCSS plugin to unwrap nested properties.", | ||
@@ -10,9 +10,10 @@ "main": "dist/plugin.js", | ||
"codecov": "codecov -f coverage/lcov.info", | ||
"compile": "tsc", | ||
"compile:watch": "tsc --watch", | ||
"build": "tsc", | ||
"build:watch": "tsc --watch", | ||
"prepublish": "npm test", | ||
"pretest": "npm run tslint && npm run clean && npm run compile", | ||
"pretest": "npm run tslint && npm run clean && npm run build", | ||
"test": "nyc ava", | ||
"test:watch": "ava --watch", | ||
"tslint": "tslint --project tsconfig.json" | ||
"tslint": "tslint --project tsconfig.json", | ||
"watch": "npm run test:watch" | ||
}, | ||
@@ -66,14 +67,14 @@ "ava": { | ||
"dependencies": { | ||
"postcss": "^5.2.15", | ||
"postcss": "^6.0.14", | ||
"pseudo-classes": "^1.0.0", | ||
"pseudo-elements": "^1.0.0" | ||
"pseudo-elements": "^1.1.0" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^7.0.5", | ||
"ava": "^0.18.2", | ||
"nyc": "^10.1.2", | ||
"rimraf": "^2.6.0", | ||
"tslint": "^4.4.2", | ||
"typescript": "^2.2.1" | ||
"@types/node": "^8.0.47", | ||
"ava": "^0.23.0", | ||
"nyc": "^11.3.0", | ||
"rimraf": "^2.6.2", | ||
"tslint": "^5.8.0", | ||
"typescript": "^2.6.1" | ||
} | ||
} |
@@ -11,3 +11,3 @@ # postcss-nested-props | ||
[![codecov](https://codecov.io/gh/jedmao/postcss-nested-props/branch/master/graph/badge.svg)](https://codecov.io/gh/jedmao/postcss-nested-props) | ||
[![CircleCI](https://circleci.com/gh/jedmao/postcss-nested-props.svg?style=svg)](https://circleci.com/gh/jedmao/postcss-nested-props) | ||
[![Dependency Status](https://gemnasium.com/badges/github.com/jedmao/postcss-nested-props.svg)](https://gemnasium.com/github.com/jedmao/postcss-nested-props) | ||
@@ -88,1 +88,27 @@ [![npm](https://nodei.co/npm/postcss-nested-props.svg?downloads=true)](https://nodei.co/npm/postcss-nested-props/) | ||
None at this time. | ||
## Testing | ||
Run the following command: | ||
``` | ||
$ npm test | ||
``` | ||
This will build scripts, run tests and generate a code coverage report. Anything less than 100% coverage will throw an error. | ||
### Watching | ||
For much faster development cycles, run the following commands in 2 separate processes: | ||
``` | ||
$ npm run build:watch | ||
``` | ||
Compiles TypeScript source into the `./dist` folder and watches for changes. | ||
``` | ||
$ npm run watch | ||
``` | ||
Runs the tests in the `./dist` folder and watches for changes. |
8181
113
+ Addedansi-styles@3.2.1(transitive)
+ Addedchalk@2.4.2(transitive)
+ Addedcolor-convert@1.9.3(transitive)
+ Addedcolor-name@1.1.3(transitive)
+ Addedhas-flag@3.0.0(transitive)
+ Addedpostcss@6.0.23(transitive)
+ Addedsource-map@0.6.1(transitive)
+ Addedsupports-color@5.5.0(transitive)
- Removedansi-regex@2.1.1(transitive)
- Removedansi-styles@2.2.1(transitive)
- Removedchalk@1.1.3(transitive)
- Removedhas-ansi@2.0.0(transitive)
- Removedhas-flag@1.0.0(transitive)
- Removedjs-base64@2.6.4(transitive)
- Removedpostcss@5.2.18(transitive)
- Removedsource-map@0.5.7(transitive)
- Removedstrip-ansi@3.0.1(transitive)
- Removedsupports-color@2.0.03.2.3(transitive)
Updatedpostcss@^6.0.14
Updatedpseudo-elements@^1.1.0