Skip to content

Commit a55afef

Browse files
committed
Adjust package.json for distribution
1 parent c671403 commit a55afef

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"require": "./dist/index.cjs"
1515
}
1616
},
17+
"files": ["dist", "bin", "templates", "install.js", "lib"],
1718
"repository": {
1819
"url": "https://github.com/highcharts/node-export-server",
1920
"type": "git"
@@ -35,6 +36,7 @@
3536
"node-tests": "node ./tests/node/node_test_runner.js",
3637
"node-tests-single": "node ./tests/node/node_test_runner_single.js",
3738
"prepare": "husky || true",
39+
"prepack": "npm run build",
3840
"build": "rollup -c",
3941
"unit:test": "node --experimental-vm-modules node_modules/jest/bin/jest.js"
4042
},

0 commit comments

Comments
 (0)