Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit d0b3b77

Browse files
author
Matt Carroll
committed
Add prepublishOnly script, and remove references to public SDK repo from package.json for initial publish
1 parent 0ef64db commit d0b3b77

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

packages/datafile-manager/package.json

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"name": "@optimizely/js-sdk-datafile-manager",
33
"version": "0.1.0",
44
"description": "Optimizely Full Stack Datafile Manager",
5-
"homepage": "https://github.com/optimizely/javascript-sdk/tree/master/packages/datafile-manager",
65
"license": "Apache-2.0",
76
"engines": {
87
"node": ">=4.0.0"
@@ -21,16 +20,6 @@
2120
"README.md",
2221
"package.json"
2322
],
24-
"repository": {
25-
"type": "git",
26-
"url": "git+https://github.com/optimizely/javascript-sdk.git"
27-
},
28-
"keywords": [
29-
"optimizely"
30-
],
31-
"bugs": {
32-
"url": "https://github.com/optimizely/javascript-sdk/issues"
33-
},
3423
"publishConfig": {
3524
"access": "public"
3625
},
@@ -50,6 +39,7 @@
5039
},
5140
"scripts": {
5241
"test": "jest",
53-
"tsc": "rm -rf lib && tsc"
42+
"tsc": "rm -rf lib && tsc",
43+
"prepublishOnly": "yarn test && yarn tsc"
5444
}
5545
}

0 commit comments

Comments
 (0)