-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
50 lines (50 loc) · 1.56 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
{
"name": "w3c-css",
"version": "2.0.2",
"description": "Validate CSS using W3C CSS Validation Service",
"main": "index.js",
"scripts": {
"test": "mocha --reporter spec",
"test:local": "env CSS_VALIDATOR=\"$(npm run -s validator:find)\" mocha --reporter spec",
"validator:build": "docker build -t css-validator ./validator",
"validator:run": "docker run -it --rm --name css-validator css-validator",
"validator:run:detach": "docker run -it --detach --name css-validator css-validator",
"validator:find:ip": "docker inspect --format='{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' css-validator",
"validator:find": "CSS_VALIDATOR_IP=$(npm run -s validator:find:ip) && echo '{ \"hostname\": \"'${CSS_VALIDATOR_IP}'\", \"port\": 8080 }'",
"tag": "git tag v$npm_package_version",
"do:publish": "git push && git push --tags && npm publish"
},
"bin": {
"w3c-css": "./lib/cli.js"
},
"repository": {
"type": "git",
"url": "https://github.com/gchudnov/w3c-css.git"
},
"keywords": [
"css",
"validate",
"stylesheet",
"styles",
"w3c",
"lint",
"compliance"
],
"author": "Grigoriy Chudnov <[email protected]> (https://github.com/gchudnov)",
"license": "MIT",
"bugs": {
"url": "https://github.com/gchudnov/w3c-css/issues"
},
"homepage": "https://github.com/gchudnov/w3c-css",
"dependencies": {
"nopt": "^4.0.1",
"once": "^1.4.0",
"request": "^2.83.0",
"sax": "^1.2.4"
},
"devDependencies": {
"async": "^2.6.1",
"mocha": "^5.2.0",
"should": "^13.2.3"
}
}