Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
## [0.0.5] - 06-05-2016
### Change
- Update #19, change log forgot 0.0.4

## [0.0.4] - 27-04-2016
### Added
- Added #11, eslint-formatter-pretty

### Change
- Update #16, devDep
- Change #11, xo to eslint
- Update #15, node 6 in travis config

### Fixed
- Fixed #11, eslint report error

## [0.0.3] - 25-04-2016
### Change
- Update .npmignore added nyc and sublime
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# postcss-attribute-selector-prefix plugin for postcss
> ####Adds a namespace/prefix to attribute selector, needs to escape from the third-party frameworks.
> Adds a namespace/prefix to attribute selector, needs to escape from the third-party frameworks.


[![Build Status](https://img.shields.io/travis/GitScrum/postcss-attribute-selector-prefix.svg?style=flat-square)](https://travis-ci.org/GitScrum/postcss-attribute-selector-prefix)[![npm version](https://img.shields.io/npm/v/postcss-attribute-selector-prefix.svg?style=flat-square)](https://www.npmjs.com/package/postcss-attribute-selector-prefix)[![Dependency Status](https://david-dm.org/gitscrum/postcss-attribute-selector-prefix.svg?style=flat-square)](https://david-dm.org/gitscrum/postcss-attribute-selector-prefix)[![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg?style=flat-square)](https://github.com/sindresorhus/xo)[![Coveralls status](https://img.shields.io/coveralls/GitScrum/postcss-attribute-selector-prefix.svg?style=flat-square)](https://coveralls.io/r/GitScrum/postcss-attribute-selector-prefix)[![npm downloads](https://img.shields.io/npm/dm/postcss-attribute-selector-prefix.svg?style=flat-square)](https://www.npmjs.com/package/postcss-attribute-selector-prefix)[![npm](https://img.shields.io/npm/dt/postcss-attribute-selector-prefix.svg?style=flat-square)](https://www.npmjs.com/package/postcss-attribute-selector-prefix)
Expand Down Expand Up @@ -51,6 +51,7 @@ console.log(output);
### Options

#### `prefix`
*add prefix to attribute selector*

Type: `string`
Default: ``
Expand Down
65 changes: 47 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
{
"name": "postcss-attribute-selector-prefix",
"version": "0.0.4",
"version": "0.0.5",
"description": "A attribute selector prefixer for postcss",
"main": "./lib/index.js",
"scripts": {
"test": "eslint --format=node_modules/eslint-formatter-pretty ./src/*.js ./test/*.js && nyc ava",
"clean": "rm -rf lib && mkdir lib",
"build": "npm run clean && babel src/index.js --out-file lib/index.js && npm t",
"build": "npm run clean && babel src/index.js --out-file lib/index.js",
"prepublish": "npm run build",
"update": "updtr"
"update": "updtr && ava-codemods --force",
"check": "package-config-checker -d 0"
},
"repository": {
"type": "git",
Expand All @@ -27,9 +28,28 @@
},
"homepage": "https://github.com/GitScrum/postcss-attribute-selector-prefix#readme",
"babel": {
"presets": [
"node5"
],
"env": {
"node4": {
"presets": [
"es2015-node4"
]
},
"node5": {
"presets": [
"es2015-node5"
]
},
"node6": {
"presets": [
"es2015-node6"
]
},
"development": {
"presets": [
"es2015"
]
}
},
"plugins": [
"add-module-exports"
]
Expand All @@ -40,10 +60,12 @@
]
},
"eslintConfig": {
"parser": "babel-eslint",
"plugins": [
"ava",
"xo",
"babel"
"babel",
"require-path-exists"
],
"extends": [
"xo",
Expand All @@ -52,22 +74,29 @@
]
},
"dependencies": {
"postcss": "^5.0.19"
"postcss": "^5.0.21"
},
"devDependencies": {
"ava": "^0.14.0",
"babel-cli": "^6.7.7",
"ava-codemods": "^0.2.1",
"babel-cli": "^6.8.0",
"babel-eslint": "^6.0.4",
"babel-plugin-add-module-exports": "^0.1.4",
"babel-preset-node5": "^11.0.2",
"babel-register": "^6.7.2",
"babel-preset-es2015": "^6.6.0",
"babel-preset-es2015-node4": "^2.1.0",
"babel-preset-es2015-node5": "^1.2.0",
"babel-preset-es2015-node6": "^0.2.0",
"babel-register": "^6.8.0",
"coveralls": "^2.11.9",
"eslint": "^2.8.0",
"eslint-config-xo": "^0.13.0",
"eslint-formatter-pretty": "^0.2.1",
"eslint-plugin-ava": "^2.2.1",
"eslint": "^2.9.0",
"eslint-config-xo": "^0.14.1",
"eslint-formatter-pretty": "^0.2.2",
"eslint-plugin-ava": "^2.3.1",
"eslint-plugin-babel": "^3.2.0",
"eslint-plugin-xo": "^0.3.1",
"nyc": "^6.4.0",
"updtr": "^0.1.10"
"eslint-plugin-require-path-exists": "^1.1.5",
"eslint-plugin-xo": "^0.4.1",
"nyc": "^6.4.3",
"package-config-checker": "^1.0.0",
"updtr": "^0.1.12"
}
}