Skip to content

Commit 694fac4

Browse files
committed
Update package.json config
- Reran npm init to use the latest NPM format. - Cleaned out unused variables (engine, directories). - Updated EditorConfig settings to reflect the NPM 2 space default.
1 parent 812ecb3 commit 694fac4

File tree

2 files changed

+33
-30
lines changed

2 files changed

+33
-30
lines changed

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,6 @@ indent_size = 4
88
charset = utf-8
99
trim_trailing_whitespace = true
1010
insert_final_newline = false
11+
12+
[package.json]
13+
indent_size = 2

npm/package.json

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
11
{
2-
"name": "parserlib",
3-
"version": "@VERSION@",
4-
"description": "CSSLint",
5-
"author": "Nicholas C. Zakas",
6-
"description": "CSS3 SAX-inspired parser",
7-
"keywords": [ "parser", "css", "css3", "sax", "style", "stylesheet" ],
8-
"contributors": [
9-
],
10-
"engines": {
11-
"node" : ">=0.2.0"
12-
},
13-
"directories": {
14-
"lib" : "lib"
15-
},
16-
"main": "./lib/node-parserlib.js",
17-
"licenses":[
18-
{
19-
"type" : "MIT",
20-
"url" : "https://github.com/nzakas/parser-lib/blob/master/LICENSE"
21-
}
22-
],
23-
"repository": {
24-
"type":"git",
25-
"url":"http://github.com/nzakas/parser-lib.git"
26-
},
27-
"scripts": {
28-
"test": "ant -f ../../build.xml test",
29-
"prepublish": "npm test"
30-
}
31-
}
2+
"name": "parserlib",
3+
"version": "@VERSION@",
4+
"author": "Nicholas C. Zakas",
5+
"contributors": [
6+
"Nick Schonning"
7+
],
8+
"description": "CSS3 SAX-inspired parser",
9+
"license": "MIT",
10+
"homepage": "https://github.com/CSSLint/parser-lib",
11+
"repository": {
12+
"type": "git",
13+
"url": "http://github.com/CSSLint/parser-lib.git"
14+
},
15+
"bugs": {
16+
"url": "https://github.com/CSSLint/parser-lib/issues"
17+
},
18+
"keywords": [
19+
"parser",
20+
"css",
21+
"css3",
22+
"sax",
23+
"style",
24+
"stylesheet"
25+
],
26+
"main": "./lib/node-parserlib.js",
27+
"scripts": {
28+
"test": "ant -f ../../build.xml test",
29+
"prepublish": "npm test"
30+
}
31+
}

0 commit comments

Comments
 (0)