Skip to content

Commit 251a0f4

Browse files
committed
package cleanup
1 parent 9b7c092 commit 251a0f4

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

package.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
"pre-commit": [
1313
"npm test"
1414
],
15-
"pre-push": ["npm run size"],
15+
"pre-push": [
16+
"npm run size"
17+
],
1618
"post-commit": [],
1719
"post-merge": []
1820
}
@@ -38,6 +40,9 @@
3840
"engines": {
3941
"node": "> 0.10.*"
4042
},
43+
"files": [
44+
"*.js"
45+
],
4146
"homepage": "https://github.com/bahmutov/code-snippets",
4247
"keywords": [
4348
"chrome",
@@ -49,9 +54,6 @@
4954
"test",
5055
"testing"
5156
],
52-
"files": [
53-
"*.js"
54-
],
5557
"license": "MIT",
5658
"main": "first-paint.js",
5759
"repository": {
@@ -63,7 +65,7 @@
6365
"commit": "git-issues && commit-wizard",
6466
"grunt": "grunt",
6567
"issues": "git-issues",
66-
"test": "grunt",
67-
"size": "t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";"
68+
"size": "t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";",
69+
"test": "grunt"
6870
}
6971
}

0 commit comments

Comments
 (0)