Skip to content

Commit 89a4e82

Browse files
committed
Allow running the tests with npm test
Also, make sure `npm install` installs the test dependencies.
1 parent cccb640 commit 89a4e82

File tree

3 files changed

+1276
-1278
lines changed

3 files changed

+1276
-1278
lines changed

package.json

+38-31
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,38 @@
1-
{
2-
"name": "css-parser",
3-
"version": "0.1.0",
4-
"description": "Standards-based CSS parser, based on the CSS Syntax spec.",
5-
"keywords": ["css", "parser"],
6-
"author": "Tab Atkins <[email protected]>",
7-
"repository": {
8-
"type": "git",
9-
"url": "git://github.com/tabatkins/css-parser.git"
10-
},
11-
"main": "index",
12-
"homepage": "https://github.com/tabatkins/css-parser",
13-
"contributors": [
14-
{
15-
"name": "Tab Atkins Jr."
16-
}
17-
],
18-
"bugs": {
19-
"url": "https://github.com/tabatkins/css-parser/issues",
20-
"email": "[email protected]"
21-
},
22-
"dependencies": {},
23-
"devDependencies": {},
24-
"licenses": [
25-
{
26-
"type": "CC0",
27-
"url": "http://github.com/tabatkins/css-parser/raw/master/LICENSE"
28-
}
29-
],
30-
"scripts": {}
31-
}
1+
{
2+
"name": "parse-css",
3+
"version": "0.1.0",
4+
"description": "Standards-based CSS parser, based on the CSS Syntax spec.",
5+
"keywords": [
6+
"css",
7+
"parser"
8+
],
9+
"author": "Tab Atkins <[email protected]>",
10+
"repository": {
11+
"type": "git",
12+
"url": "git://github.com/tabatkins/parse-css.git"
13+
},
14+
"main": "index",
15+
"homepage": "https://github.com/tabatkins/parse-css",
16+
"contributors": [
17+
{
18+
"name": "Tab Atkins Jr."
19+
}
20+
],
21+
"bugs": {
22+
"url": "https://github.com/tabatkins/parse-css/issues",
23+
"email": "[email protected]"
24+
},
25+
"dependencies": {},
26+
"devDependencies": {
27+
"ansidiff": "^1.0.0"
28+
},
29+
"licenses": [
30+
{
31+
"type": "CC0",
32+
"url": "http://github.com/tabatkins/parse-css/raw/master/LICENSE"
33+
}
34+
],
35+
"scripts": {
36+
"test": "node tests.js"
37+
}
38+
}

0 commit comments

Comments
 (0)