Skip to content

Commit 26834e2

Browse files
committed
prepare api-js for pushing under foxcomm scope
1 parent a87a82a commit 26834e2

File tree

3 files changed

+1987
-4
lines changed

3 files changed

+1987
-4
lines changed

.npmignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/src
2+
/test

package.json

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
{
2-
"name": "api-js",
2+
"name": "@foxcomm/api-js",
33
"version": "1.0.0",
44
"description": "Javascript Library for interacting with FoxCommerce API",
55
"main": "lib/index.js",
6+
"publishConfig": {
7+
"registry": "https://npm.foxcommerce.com:4873"
8+
},
69
"scripts": {
710
"test": "mocha test",
811
"build": "babel src -d lib",
9-
"postinstall": "postinstall-build lib 'npm run build'",
1012
"docs": "APIARY_DOCS_PATH=../phoenix-scala/docs/api/docs/objects node ./bin/import-docs.js && node ./bin/make-docs.js",
1113
"prepublish": "npm run build"
1214
},
@@ -27,8 +29,7 @@
2729
"dependencies": {
2830
"debug": "^2.2.0",
2931
"isomorphic-fetch": "^2.2.1",
30-
"jwt-decode": "^2.0.1",
31-
"postinstall-build": "^0.2.1"
32+
"jwt-decode": "^2.0.1"
3233
},
3334
"devDependencies": {
3435
"babel-cli": "^6.9.0",

0 commit comments

Comments
 (0)