Skip to content

Commit e4dd30a

Browse files
author
Vova Manannikov
committed
Make package installable from git
1 parent 5398ed3 commit e4dd30a

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

.npmignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
node_modules
22
coverage
33
examples
4-
src
54
test
65
tmp
76
yarn.lock

package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55
"main": "dist/index.cjs.js",
66
"module": "dist/index.esm.js",
77
"browser": "dist/index.js",
8-
"files": [
9-
"dist"
10-
],
118
"repository": {
129
"type": "git",
1310
"url": "git+https://github.com/OpenMined/syft.js.git"
@@ -34,7 +31,7 @@
3431
"scripts": {
3532
"start": "rollup -cw",
3633
"build": "rollup -c",
37-
"prepublishOnly": "npm run build",
34+
"prepare": "npm run build",
3835
"test": "jest --coverage",
3936
"test:watch": "jest --watch",
4037
"version": "auto-changelog -p && git add CHANGELOG.md",

0 commit comments

Comments
 (0)