Skip to content

Commit

Permalink
Move package.json to root
Browse files Browse the repository at this point in the history
Metro does not support nested package.json in the case of an unpublished
module pulled directly from github.
  • Loading branch information
AlanLeeMoven committed Mar 21, 2022
1 parent 1d77c73 commit 3c14f2f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions javascript-sdk/package.json → package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"name": "@jitsu/sdk-js",
"version": "2.4.0",
"description": "Jitsu JavaScript SDK (more at http://jitsu.com/docs/js-sdk)",
"main": "dist/npm/jitsu.cjs.js",
"module": "dist/npm/dist/jitsu.es.js",
"types": "dist/npm/jitsu.d.ts",
"main": "javascript-sdk/dist/npm/jitsu.cjs.js",
"module": "javascript-sdk/dist/npm/dist/jitsu.es.js",
"types": "javascript-sdk/dist/npm/jitsu.d.ts",
"files": [
"dist/npm/*",
"dist/web/*"
"javascript-sdk/dist/npm/*",
"javascript-sdk/dist/web/*"
],
"repository": {
"type": "git",
Expand All @@ -20,7 +20,7 @@
"private": false,
"author": "Jitsu Dev <[email protected]>",
"scripts": {
"clean": "rm -rf ./dist",
"clean": "rm -rf ./javascript-sdk/dist",
"devserver": "PORT=8081 nodemon --watch '__tests__/common/*.ts' --exec 'ts-node' __tests__/common/devserver.ts",
"test": "rollup -c && jest --detectOpenHandles --verbose false",
"build": "rollup -c"
Expand Down

0 comments on commit 3c14f2f

Please sign in to comment.