Skip to content

Commit 263a7f4

Browse files
authored
Merge pull request #110 from GitScrum/milestone-0.0.11
Milestone 0.0.11
2 parents 25713ea + 9dd67d3 commit 263a7f4

File tree

8 files changed

+274
-159
lines changed

8 files changed

+274
-159
lines changed

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
sudo: false
22
language: node_js
33
node_js:
4+
- "7"
45
- "6"
56
- "5"
67
- "4"

README.md

-113
This file was deleted.

appveyor.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
environment:
2+
matrix:
3+
- nodejs_version: "7"
4+
- nodejs_version: "6"
5+
- nodejs_version: "5"
6+
- nodejs_version: "4"
7+
8+
version: "{build}"
9+
build: off
10+
deploy: off
11+
12+
install:
13+
- ps: Install-Product node $env:nodejs_version
14+
- npm install
15+
16+
test_script:
17+
- node --version
18+
- npm --version
19+
- npm test
File renamed without changes.

license

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) Ivan Demidov <[email protected]>
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

package.json

+90-44
Original file line numberDiff line numberDiff line change
@@ -2,87 +2,133 @@
22
"name": "postcss-attribute-selector-prefix",
33
"version": "0.0.10",
44
"description": "A attribute selector prefixer for postcss",
5+
"license": "MIT",
6+
"repository": "GitScrum/postcss-attribute-selector-prefix",
7+
"homepage": "GitScrum/postcss-attribute-selector-prefix#readme",
8+
"bugs": "GitScrum/postcss-attribute-selector-prefix/issues",
9+
"author": {
10+
"name": "Ivan Demidov",
11+
"email": "[email protected]",
12+
"url": "https://twitter.com/Scrum_"
13+
},
514
"main": "lib/index.js",
6-
"files": [
7-
"lib/"
8-
],
15+
"engines": {
16+
"node": ">=4"
17+
},
918
"scripts": {
10-
"test": "eslint --format=node_modules/eslint-formatter-pretty ./src/*.js ./test/*.js && nyc ava",
19+
"commitmsg": "conventional-changelog-lint -e",
20+
"postpublish": "conventional-changelog -i changelog.md -s -r 0 && git commit -am \"chore(changelog): Update changelog\"",
21+
"patch": "np patch --any-branch",
22+
"minor": "np minor --any-branch",
23+
"major": "np major --any-branch",
1124
"clean": "rm -rf lib && mkdir lib",
1225
"build": "npm run clean && babel src/ -d lib/",
1326
"prepublish": "npm run build",
14-
"update": "updtr && ava-codemods --force"
15-
},
16-
"repository": {
17-
"type": "git",
18-
"url": "git+https://github.com/GitScrum/postcss-attribute-selector-prefix.git"
27+
"lintjs": "eslint ./src/*.js ./test/*.js",
28+
"lintmd": "eslint --ext md --rule indent: [error, 4] .",
29+
"pretest": "clinton && npm run lintjs && npm run lintmd",
30+
"test": "nyc ava",
31+
"update": "updtr && ava-codemods --force",
32+
"testen": "testen -n -- ava"
1933
},
34+
"files": [
35+
"lib/"
36+
],
2037
"keywords": [
2138
"postcss",
2239
"postcss-plugin",
2340
"prefix",
2441
"css"
2542
],
26-
"author": {
27-
"name": "GitScrum",
28-
"email": "[email protected]"
43+
"dependencies": {
44+
"postcss": "^5.2.6"
2945
},
30-
"license": "MIT",
31-
"bugs": {
32-
"url": "https://github.com/GitScrum/postcss-attribute-selector-prefix/issues"
46+
"devDependencies": {
47+
"ava": "*",
48+
"ava-codemods": "^0.3.0",
49+
"babel-cli": "^6.11.4",
50+
"babel-eslint": "^7.1.1",
51+
"babel-plugin-add-module-exports": "^0.2.1",
52+
"babel-preset-babili": "^0.0.9",
53+
"babel-preset-env": "^0.0.9",
54+
"babel-register": "^6.11.6",
55+
"clinton": "^0.8.0",
56+
"conventional-changelog-cli": "^1.2.0",
57+
"conventional-changelog-lint": "^1.1.0",
58+
"coveralls": "^2.11.15",
59+
"eslint": "^3.11.1",
60+
"eslint-config-xo": "^0.17.0",
61+
"eslint-formatter-pretty": "^1.0.0",
62+
"eslint-plugin-ava": "^4.0.0",
63+
"eslint-plugin-babel": "^4.0.0",
64+
"eslint-plugin-markdown": "^1.0.0-beta.3",
65+
"eslint-plugin-require-path-exists": "^1.1.5",
66+
"eslint-plugin-xo": "^1.0.0",
67+
"husky": "^0.11.9",
68+
"np": "^2.10.1",
69+
"nyc": "^10.0.0",
70+
"testen": "^1.8.2",
71+
"updtr": "^0.2.3"
72+
},
73+
"testen": {
74+
"node": [
75+
"4",
76+
"5",
77+
"6",
78+
"7"
79+
]
3380
},
34-
"homepage": "https://github.com/GitScrum/postcss-attribute-selector-prefix#readme",
3581
"babel": {
3682
"presets": [
37-
"es2015"
83+
[
84+
"env",
85+
{
86+
"targets": {
87+
"node": "4"
88+
}
89+
}
90+
],
91+
"babili"
3892
],
3993
"plugins": [
4094
"add-module-exports"
41-
],
42-
"comments": false,
43-
"compact": true,
44-
"minified": true
95+
]
4596
},
4697
"ava": {
4798
"require": [
4899
"babel-register"
49100
]
50101
},
51102
"eslintConfig": {
103+
"format": "node_modules/eslint-formatter-pretty",
52104
"parser": "babel-eslint",
53105
"plugins": [
54106
"ava",
55107
"xo",
56108
"babel",
57-
"require-path-exists"
109+
"require-path-exists",
110+
"markdown"
58111
],
59112
"extends": [
60113
"xo",
61114
"plugin:xo/recommended",
62115
"plugin:ava/recommended"
63116
]
64117
},
65-
"dependencies": {
66-
"postcss": "^5.1.1"
67-
},
68-
"devDependencies": {
69-
"ava": "^0.17.0",
70-
"ava-codemods": "^0.3.0",
71-
"babel-cli": "^6.11.4",
72-
"babel-eslint": "^7.0.0",
73-
"babel-plugin-add-module-exports": "^0.2.1",
74-
"babel-preset-es2015": "^6.9.0",
75-
"babel-preset-min": "^0.1.15",
76-
"babel-register": "^6.11.6",
77-
"coveralls": "^2.11.15",
78-
"eslint": "^3.11.1",
79-
"eslint-config-xo": "^0.17.0",
80-
"eslint-formatter-pretty": "^1.0.0",
81-
"eslint-plugin-ava": "^4.0.0",
82-
"eslint-plugin-babel": "^3.3.0",
83-
"eslint-plugin-require-path-exists": "^1.1.5",
84-
"eslint-plugin-xo": "^1.0.0",
85-
"nyc": "^10.0.0",
86-
"updtr": "^0.2.3"
118+
"clinton": {
119+
"ignores": [
120+
"test/**",
121+
"tmp/**",
122+
"lib/**",
123+
"*.{html,jpg}"
124+
],
125+
"rules": {
126+
"pkg-main": [
127+
"off"
128+
],
129+
"xo": [
130+
"off"
131+
]
132+
}
87133
}
88134
}

0 commit comments

Comments
 (0)