Skip to content

Commit f6b15ab

Browse files
committed
Add .npmignore and update package.json to include npm prepublish so that hopefully I don't ruin everyone's builds when I update npm.
1 parent 34ac400 commit f6b15ab

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

.npmignore

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
node_modules
2+
bower_components
3+
coverage
4+
*.log
5+
spec
6+
freelancer
7+
.jscsrc
8+
.gitignore
9+
README.md
10+
PULL_REQUEST_TEMPLATE.md
11+
ISSUE_TEMPLATE.md
12+
protractor.conf.js
13+
.travis.yml
14+
Gruntfile.js
15+
karma.conf.js

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"build": "grunt && doctoc ./README.md && doctoc ./doc/README.md && doctoc ./doc/CHANGES.md",
1212
"test": "grunt lint && karma start karma.conf.js",
1313
"lint": "grunt lint",
14-
"reset": "rm -rf dist node_modules"
14+
"reset": "rm -rf dist node_modules",
15+
"prepublishOnly": "npm build"
1516
},
1617
"keywords": [
1718
"gridstack",

0 commit comments

Comments
 (0)