Skip to content

Commit

Permalink
fix: #167 fix npm packages dependencies (#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
trankhacvy authored Feb 5, 2020
1 parent d4c7a56 commit a0ff724
Show file tree
Hide file tree
Showing 5 changed files with 107 additions and 73 deletions.
43 changes: 24 additions & 19 deletions packages/cognito-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,37 @@
"name": "@reapit/cognito-auth",
"version": "2.0.14",
"description": "Simple wrapper around AWS Cognito for basic authentication flow",
"keywords": [],
"homepage": "https://github.com/reapit/foundations#readme",
"bugs": {
"url": "https://github.com/reapit/foundations/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/reapit/foundations.git"
},
"license": "ISC",
"author": "",
"files": [
"dist"
],
"main": "dist/index.js",
"umd:main": "dist/cognito-auth.umd.production.js",
"module": "dist/cognito-auth.esm.js",
"typings": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"test:ci": "cross-env TZ=UTC jest --ci --colors --coverage --silent --forceExit",
"test:dev": "cross-env TZ=UTC jest --watch --verbose",
"prepublish": "yarn test:ci && yarn build:prod",
"prebuild": "rimraf dist && rimraf public",
"build:prod": "cross-env NODE_ENV=production tsdx build --format=cjs,esm,umd",
"release:prod": "node ../../scripts/release/release-npm.js @reapit/cognito-auth"
},
"repository": {
"type": "git",
"url": "git+https://github.com/reapit/foundations.git"
"prebuild": "rimraf dist && rimraf public",
"prepublish": "yarn test:ci && yarn build:prod",
"release:prod": "node ../../scripts/release/release-npm.js @reapit/cognito-auth",
"test:ci": "cross-env TZ=UTC jest --ci --colors --coverage --silent --forceExit",
"test:dev": "cross-env TZ=UTC jest --watch --verbose"
},
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/reapit/foundations/issues"
"dependencies": {
"amazon-cognito-identity-js": "~3.0.13",
"cors": "^2.8.5",
"hardtack": "^4.1.2",
"jsonwebtoken": "^8.5.1"
},
"homepage": "https://github.com/reapit/foundations#readme",
"dependencies": {},
"devDependencies": {}
}
24 changes: 13 additions & 11 deletions packages/config-manager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,24 @@
"name": "@reapit/config-manager",
"version": "1.1.0",
"description": "Node package for managing configuration and environment variables in AWS Secrets Manager",
"main": "src/index.js",
"bin": {
"config-manager": "./src/cli.js"
},
"scripts": {
"release:prod": "node ../../scripts/release/release-npm.js @reapit/config-manager"
"homepage": "https://github.com/reapit/foundations#readme",
"bugs": {
"url": "https://github.com/reapit/foundations/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/reapit/foundations.git"
},
"author": "[email protected]",
"license": "ISC",
"bugs": {
"url": "https://github.com/reapit/foundations/issues"
"author": "[email protected]",
"main": "src/index.js",
"bin": {
"config-manager": "./src/cli.js"
},
"homepage": "https://github.com/reapit/foundations#readme",
"dependencies": {}
"scripts": {
"release:prod": "node ../../scripts/release/release-npm.js @reapit/config-manager"
},
"dependencies": {
"aws-sdk": "^2.582.0"
}
}
64 changes: 41 additions & 23 deletions packages/elements/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,42 +2,60 @@
"name": "@reapit/elements",
"version": "0.5.35",
"description": "A collection of React components and utilities for building apps for Reapit Marketplace",
"homepage": "https://github.com/reapit/foundations#readme",
"bugs": {
"url": "https://github.com/reapit/foundations/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/reapit/foundations.git"
},
"license": "MIT",
"author": "Will McVay <[email protected]>",
"files": [
"dist"
],
"main": "dist/index.js",
"umd:main": "dist/elements.umd.production.js",
"module": "dist/elements.esm.js",
"typings": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"test:ci": "cross-env TZ=UTC jest --ci --colors --coverage --silent --forceExit",
"test:dev": "cross-env TZ=UTC jest --watch --verbose",
"build:prod": "rimraf dist && cross-env NODE_ENV=production tsdx build --format=cjs,esm,umd && rollup -c",
"start:prod": "cross-env NODE_ENV=development tsdx watch",
"release:prod": "node ../../scripts/release/release-npm.js @reapit/elements",
"start:dev": "start-storybook -p 6006",
"release:prod": "node ../../scripts/release/release-npm.js @reapit/elements"
},
"repository": {
"type": "git",
"url": "git+https://github.com/reapit/foundations.git"
"start:prod": "cross-env NODE_ENV=development tsdx watch",
"test:ci": "cross-env TZ=UTC jest --ci --colors --coverage --silent --forceExit",
"test:dev": "cross-env TZ=UTC jest --watch --verbose"
},
"author": "Will McVay <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/reapit/foundations/issues"
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 11"
],
"dependencies": {
"@storybook/theming": "^5.2.8",
"@types/papaparse": "^5.0.3",
"bulma": "^0.7.5",
"formik": "^2.0.4",
"hardtack": "^4.1.0",
"himalaya": "^1.1.0",
"jsonwebtoken": "^8.5.1",
"papaparse": "^5.1.1",
"pell": "^1.0.6",
"prop-types": "^15.7.2",
"react-datasheet": "^1.4.0",
"react-datepicker": "^2.9.6",
"react-google-map": "^3.1.1",
"react-google-maps-loader": "^4.2.5",
"react-icons": "^3.7.0",
"react-table": "7.0.0-alpha.35",
"styled-components": "^4.4.1"
},
"homepage": "https://github.com/reapit/foundations#readme",
"devDependencies": {},
"dependencies": {},
"peerDependencies": {
"react": "^16.11.0",
"react-dom": "^16.11.0",
"react-router": "^5.1.2",
"react-router-dom": "^5.1.2"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 11"
]
}
}
6 changes: 5 additions & 1 deletion packages/react-app-scaffolder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,9 @@
"scripts": {
"scaffold": "../../node_modules/.bin/yo ./generators/app --force"
},
"dependencies": {}
"dependencies": {
"merge-package-json": "^0.1.3",
"yeoman-generator": "^4.0.1",
"yosay": "^2.0.2"
}
}
43 changes: 24 additions & 19 deletions packages/web-components/package.json
Original file line number Diff line number Diff line change
@@ -1,37 +1,32 @@
{
"name": "@reapit/web-components",
"version": "0.0.4",
"homepage": "https://github.com/reapit/foundations",
"bugs": {
"url": "https://github.com/reapit/foundations/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/reapit/foundations.git"
},
"license": "MIT",
"files": [
"pidist-npm/**/*"
],
"main": "dist-npm/index.js",
"types": "dist-npm/index.d.ts",
"typings": "dist-npm/index.d.ts",
"homepage": "https://github.com/reapit/foundations",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/reapit/foundations.git"
},
"bugs": {
"url": "https://github.com/reapit/foundations/issues"
},
"dependencies": {},
"peerDependencies": {
"react": "^16.10.2",
"react-dom": "^16.10.2"
},
"scripts": {
"build:cdn": "rimraf dist && rimraf dist-npm && webpack --color --mode production --config ../../scripts/webpack/webpack.cdn.js",
"build:npm": "rimraf dist-npm && webpack --color --mode production --config ../../scripts/webpack/webpack.basic.js && yarn build:tsc",
"build:tsc": "tsc -p './tsconfig.json'",
"build:prod": "yarn build:npm && yarn build:cdn",
"start:dev": "start-storybook -p 8080",
"build:tsc": "tsc -p './tsconfig.json'",
"check-version": "node ./scripts/check-version.js",
"test:ci": "cross-env TZ=UTC jest --ci --colors --coverage --silent --forceExit",
"test:dev": "cross-env TZ=UTC jest --watch --verbose",
"release:dev": "node ../../scripts/release/release-dev.js web-components reapit-web-components-dev",
"release:prod": "node ../../scripts/release/release-prod.js web-components reapit-web-components"
"release:prod": "node ../../scripts/release/release-prod.js web-components reapit-web-components",
"start:dev": "start-storybook -p 8080",
"test:ci": "cross-env TZ=UTC jest --ci --colors --coverage --silent --forceExit",
"test:dev": "cross-env TZ=UTC jest --watch --verbose"
},
"browserslist": {
"production": [
Expand All @@ -45,7 +40,17 @@
"last 1 safari version"
]
},
"dependencies": {
"little-loader": "^0.2.0",
"lodash.merge": "^4.6.2",
"react-icons": "^3.7.0",
"styled-components": "^4.4.0"
},
"devDependencies": {},
"peerDependencies": {
"react": "^16.10.2",
"react-dom": "^16.10.2"
},
"alias": {
"@/*": "./src/*"
}
Expand Down

0 comments on commit a0ff724

Please sign in to comment.