|
2 | 2 | "name": "postcss-attribute-selector-prefix",
|
3 | 3 | "version": "0.0.10",
|
4 | 4 | "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 | + |
| 12 | + "url": "https://twitter.com/Scrum_" |
| 13 | + }, |
5 | 14 | "main": "lib/index.js",
|
6 |
| - "files": [ |
7 |
| - "lib/" |
8 |
| - ], |
| 15 | + "engines": { |
| 16 | + "node": ">=4" |
| 17 | + }, |
9 | 18 | "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", |
11 | 24 | "clean": "rm -rf lib && mkdir lib",
|
12 | 25 | "build": "npm run clean && babel src/ -d lib/",
|
13 | 26 | "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" |
19 | 33 | },
|
| 34 | + "files": [ |
| 35 | + "lib/" |
| 36 | + ], |
20 | 37 | "keywords": [
|
21 | 38 | "postcss",
|
22 | 39 | "postcss-plugin",
|
23 | 40 | "prefix",
|
24 | 41 | "css"
|
25 | 42 | ],
|
26 |
| - "author": { |
27 |
| - "name": "GitScrum", |
28 |
| - |
| 43 | + "dependencies": { |
| 44 | + "postcss": "^5.2.6" |
29 | 45 | },
|
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 | + ] |
33 | 80 | },
|
34 |
| - "homepage": "https://github.com/GitScrum/postcss-attribute-selector-prefix#readme", |
35 | 81 | "babel": {
|
36 | 82 | "presets": [
|
37 |
| - "es2015" |
| 83 | + [ |
| 84 | + "env", |
| 85 | + { |
| 86 | + "targets": { |
| 87 | + "node": "4" |
| 88 | + } |
| 89 | + } |
| 90 | + ], |
| 91 | + "babili" |
38 | 92 | ],
|
39 | 93 | "plugins": [
|
40 | 94 | "add-module-exports"
|
41 |
| - ], |
42 |
| - "comments": false, |
43 |
| - "compact": true, |
44 |
| - "minified": true |
| 95 | + ] |
45 | 96 | },
|
46 | 97 | "ava": {
|
47 | 98 | "require": [
|
48 | 99 | "babel-register"
|
49 | 100 | ]
|
50 | 101 | },
|
51 | 102 | "eslintConfig": {
|
| 103 | + "format": "node_modules/eslint-formatter-pretty", |
52 | 104 | "parser": "babel-eslint",
|
53 | 105 | "plugins": [
|
54 | 106 | "ava",
|
55 | 107 | "xo",
|
56 | 108 | "babel",
|
57 |
| - "require-path-exists" |
| 109 | + "require-path-exists", |
| 110 | + "markdown" |
58 | 111 | ],
|
59 | 112 | "extends": [
|
60 | 113 | "xo",
|
61 | 114 | "plugin:xo/recommended",
|
62 | 115 | "plugin:ava/recommended"
|
63 | 116 | ]
|
64 | 117 | },
|
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 | + } |
87 | 133 | }
|
88 | 134 | }
|
0 commit comments