Skip to content

Commit 372e1a3

Browse files
committed
Merge branch 'paazmaya-240-prepare-npm-package'
2 parents f621c81 + 3c27150 commit 372e1a3

2 files changed

Lines changed: 17 additions & 7 deletions

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ package-lock.json
55
build/
66
node_modules/
77
Auditor/Auditor_with_beacon.js
8+
*.tgz
89

910
# OS generated files #
1011
######################
@@ -15,4 +16,4 @@ Auditor/Auditor_with_beacon.js
1516
.Trashes
1617
Icon?
1718
ehthumbs.db
18-
Thumbs.db
19+
Thumbs.db

package.json

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,19 @@
88
"htmlcs"
99
],
1010
"scripts": {
11+
"prepack": "grunt build",
1112
"test": "echo \"Error: no test specified\" && exit 1"
1213
},
14+
"files": [
15+
"Auditor",
16+
"build",
17+
"Contrib",
18+
"Standards",
19+
"Translations",
20+
"HTMLCS.js",
21+
"HTMLCS.Util.js",
22+
"index.js"
23+
],
1324
"repository": {
1425
"type": "git",
1526
"url": "https://github.com/squizlabs/HTML_CodeSniffer.git"
@@ -19,14 +30,12 @@
1930
"url": "https://github.com/squizlabs/HTML_CodeSniffer/issues"
2031
},
2132
"homepage": "http://squizlabs.github.io/HTML_CodeSniffer/",
22-
"dependencies": {
33+
"devDependencies": {
2334
"grunt": "^1.0.3",
2435
"grunt-contrib-copy": "^1.0.0",
25-
"grunt-contrib-watch": "^1.0.0",
2636
"grunt-eslint": "^21.0.0",
27-
"load-grunt-tasks": "^3.5.2"
28-
},
29-
"devDependencies": {
30-
"grunt-contrib-uglify": "^2.3.0"
37+
"grunt-contrib-watch": "^1.1.0",
38+
"load-grunt-tasks": "^4.0.0",
39+
"grunt-contrib-uglify": "^4.0.0"
3140
}
3241
}

0 commit comments

Comments
 (0)