Skip to content

Commit f2807a5

Browse files
committed
chore: add lint script
1 parent a94787b commit f2807a5

File tree

1 file changed

+45
-44
lines changed

1 file changed

+45
-44
lines changed

package.json

Lines changed: 45 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,47 @@
11
{
2-
"name": "create-package-json",
3-
"version": "0.1.2",
4-
"description": "Create a package.json",
5-
"main": "index.js",
6-
"type": "commonjs",
7-
"bin": {
8-
"create-package-json": "bin/create-package-json"
9-
},
10-
"scripts": {
11-
"test": "standard && mocha",
12-
"debug": "mocha --inspect --inspect-brk",
13-
"prepublishOnly": "npm t",
14-
"postpublish": "git push && git push --tags"
15-
},
16-
"repository": {
17-
"type": "git",
18-
"url": "https://github.com/wesleytodd/create-package-json"
19-
},
20-
"keywords": [
21-
"scaffold",
22-
"generator",
23-
"package.json",
24-
"packagejson",
25-
"create"
26-
],
27-
"author": "Wes Todd <[email protected]>",
28-
"funding": {
29-
"type": "GitHub Sponsor",
30-
"url": "https://github.com/sponsors/wesleytodd"
31-
},
32-
"license": "MIT",
33-
"dependencies": {
34-
"@pkgjs/create": "^0.2.0",
35-
"execa": "^3.4.0",
36-
"fs-extra": "^6.0.1",
37-
"inquirer": "^5.2.0",
38-
"npm-package-arg": "^7.0.0",
39-
"safe-parse-list": "^0.1.1",
40-
"validate-npm-package-name": "^3.0.0"
41-
},
42-
"devDependencies": {
43-
"mocha": "^5.1.1",
44-
"standard": "^14.1.0"
45-
}
2+
"name": "create-package-json",
3+
"version": "0.1.2",
4+
"description": "Create a package.json",
5+
"main": "index.js",
6+
"type": "commonjs",
7+
"bin": {
8+
"create-package-json": "bin/create-package-json"
9+
},
10+
"scripts": {
11+
"lint": "standard --fix",
12+
"test": "npm run lint && mocha",
13+
"debug": "mocha --inspect --inspect-brk",
14+
"prepublishOnly": "npm t",
15+
"postpublish": "git push && git push --tags"
16+
},
17+
"repository": {
18+
"type": "git",
19+
"url": "https://github.com/wesleytodd/create-package-json"
20+
},
21+
"keywords": [
22+
"scaffold",
23+
"generator",
24+
"package.json",
25+
"packagejson",
26+
"create"
27+
],
28+
"author": "Wes Todd <[email protected]>",
29+
"funding": {
30+
"type": "GitHub Sponsor",
31+
"url": "https://github.com/sponsors/wesleytodd"
32+
},
33+
"license": "MIT",
34+
"dependencies": {
35+
"@pkgjs/create": "^0.2.0",
36+
"execa": "^3.4.0",
37+
"fs-extra": "^6.0.1",
38+
"inquirer": "^5.2.0",
39+
"npm-package-arg": "^7.0.0",
40+
"safe-parse-list": "^0.1.1",
41+
"validate-npm-package-name": "^3.0.0"
42+
},
43+
"devDependencies": {
44+
"mocha": "^5.1.1",
45+
"standard": "^14.1.0"
46+
}
4647
}

0 commit comments

Comments
 (0)