forked from bjankord/stylelint-config-sass-guidelines
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
65 lines (65 loc) · 2.37 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"name": "stylelint-config-sass-guidelines",
"version": "4.0.1",
"description": "Sharable stylelint config based on https://sass-guidelin.es/",
"keywords": [
"stylelint",
"stylelint-config",
"stylelint-scss",
"scss",
"sass",
"guidelines"
],
"author": "Brett Jankord",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/bjankord/stylelint-config-sass-guidelines.git"
},
"homepage": "https://github.com/bjankord/stylelint-config-sass-guidelines#readme",
"bugs": {
"url": "https://github.com/bjankord/stylelint-config-sass-guidelines/issues"
},
"main": "index.js",
"files": [
"index.js"
],
"peerDependencies": {
"stylelint": ">=8.0.0",
"stylelint-order": ">=0.7.0",
"stylelint-scss": ">=2.0.0"
},
"devDependencies": {
"babel-cli": "^6.1.18",
"babel-preset-es2015": "^6.1.18",
"babel-tape-runner": "^2.0.0",
"copyfiles": "^1.0.0",
"nyc": "^11.0.3",
"rename-files": "0.0.2",
"replace": "^0.3.0",
"stylelint": "^8.0.0",
"stylelint-order": "^0.7.0",
"stylelint-scss": "^2.0.0",
"tape": "^4.2.0"
},
"scripts": {
"build": "npm run copy; npm run replace; npm run rename",
"copy": "copyfiles -u 1 src/.stylelintrc.json .",
"rename": "rename-files ./ '.stylelintrc.json' 'index.js'",
"replace": "replace '^{+\n..\"plugins\":' 'module.exports = {\n \"plugins\":' .stylelintrc.json",
"release:major": "npm test && npm run build && npm version major -m \"Released version %s\" && npm publish && git push --follow-tags",
"release:minor": "npm test && npm run build && npm version minor -m \"Released version %s\" && npm publish && git push --follow-tags",
"release:patch": "npm test && npm run build && npm version patch -m \"Released version %s\" && npm publish && git push --follow-tags",
"scss-lint-failing-case": "cd src; bundle exec scss-lint failing-test-cases.scss -c .scss-lint.yml; exit 0",
"scss-lint-passing-case": "cd src; bundle exec scss-lint passing-test-cases.scss -c .scss-lint.yml; exit 0",
"stylelint-failing-case": "cd src; stylelint failing-test-cases.scss; exit 0",
"stylelint-passing-case": "cd src; stylelint passing-test-cases.scss; exit 0",
"tape": "babel-tape-runner '__tests__/**/*.js'",
"test": "npm run build && nyc npm run tape"
},
"babel": {
"presets": [
"es2015"
]
}
}