Skip to content

Commit

Permalink
add publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
hassanamin994 committed Jul 23, 2020
1 parent 88508ed commit 63d8ce6
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 3 deletions.
1 change: 1 addition & 0 deletions dist/index.js

Large diffs are not rendered by default.

58 changes: 58 additions & 0 deletions dist/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"name": "@videowiki/vw-proofread",
"description": "This project is created using Direflow",
"version": "2.0.11",
"scripts": {
"start": "react-app-rewired start",
"build": "react-app-rewired build",
"test": "react-app-rewired test --env=jest-environment-jsdom-fourteen"
},
"dependencies": {
"abortcontroller-polyfill": "^1.4.0",
"classnames": "^2.2.6",
"direflow-component": "3.2.8",
"history": "^4.10.1",
"prop-types": "^15.7.2",
"proxy-polyfill": "^0.3.1",
"query-string": "^6.11.0",
"react": "16.10.2",
"react-dom": "16.10.2",
"react-lottie": "^1.2.3",
"react-notifications": "^1.5.0-beta.0",
"react-redux": "^7.2.0",
"react-scripts": "3.2.0",
"react-switch": "^5.0.1",
"redux": "^4.0.5",
"redux-logger": "^3.0.6",
"redux-thunk": "^2.3.0",
"semantic-ui-react": "^0.87.3",
"socket.io-client": "^2.3.0",
"superagent": "^5.2.2",
"superagent-use": "^0.1.0"
},
"devDependencies": {
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.18.0",
"jest-environment-jsdom-fourteen": "0.1.0",
"react-app-rewired": "2.1.3",
"react-test-renderer": "16.9.0",
"to-string-loader": "1.1.5"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"config-overrides-path": "direflow-webpack.js"
}
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"name": "direflow-test",
"name": "@videowiki/vw-proofread",
"description": "This project is created using Direflow",
"version": "1.0.0",
"private": true,
"version": "2.0.11",
"scripts": {
"start": "react-app-rewired start",
"build": "react-app-rewired build",
Expand Down
5 changes: 5 additions & 0 deletions publish.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
npm run build && \
cp ./build/direflowBundle.js ./dist/index.js && \
cp ./package.json ./dist/package.json && \
cd ./dist && \
npm publish

0 comments on commit 63d8ce6

Please sign in to comment.