Skip to content

Commit 7fa779b

Browse files
raing3Richard Ainger
and
Richard Ainger
authored
fix: compile the package before publishing, removed compiled file from repo (#144)
Co-authored-by: Richard Ainger <[email protected]>
1 parent cea50e3 commit 7fa779b

File tree

6 files changed

+4
-9
lines changed

6 files changed

+4
-9
lines changed

Diff for: .gitignore

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,4 @@ npm-debug.log
44
.idea
55
.vscode
66
tmp
7-
lib/tests/
8-
lib/**/*.map
7+
lib

Diff for: lib/assets/sitemapper.js

-2
This file was deleted.

Diff for: lib/examples/google.js

-2
This file was deleted.

Diff for: lib/examples/index.js

-2
This file was deleted.

Diff for: package-lock.json

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@
3939
"test": "npm run build && mocha ./lib/tests/*.js && npm run lint",
4040
"lint": "eslint src",
4141
"clean": "rm -rf lib",
42-
"docs": "documentation build ./src/assets/sitemapper.js -f md > docs.md"
42+
"docs": "documentation build ./src/assets/sitemapper.js -f md > docs.md",
43+
"prepack": "npm run build"
4344
},
4445
"maintainers": [
4546
{

0 commit comments

Comments
 (0)