Skip to content

Commit

Permalink
Merge pull request #35 from avohq/test-webpack-build
Browse files Browse the repository at this point in the history
Replace Parcel bundler with Webpack
  • Loading branch information
logason authored Oct 8, 2020
2 parents d612732 + f338027 commit d1b17b5
Show file tree
Hide file tree
Showing 2 changed files with 932 additions and 2,194 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
{
"name": "avo-inspector",
"version": "1.2.1",
"version": "1.2.2",
"description": "",
"main": "dist/index.js",
"browser": "dist/index.js",
"react-native": "dist-native/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc --emitDeclarationOnly && BROWSER=1 parcel build src/index.ts",
"build": "tsc --emitDeclarationOnly && webpack src/index.ts --mode production --resolve-extensions .ts --module-bind ts=ts-loader --define process.env.BROWSER=1 --output-filename index.js --output-library-target umd",
"build-native": "tsc --outDir dist-native",
"dev": "parcel src/index.ts",
"test": "jest",
"test:browser": "BROWSER=1 jest",
"typecheck": "tsc --noEmit",
Expand Down Expand Up @@ -67,13 +66,14 @@
"eslint": "6.8.0",
"eslint-plugin-react": "7.18.0",
"jest": "25.4.0",
"parcel-bundler": "1.12.4",
"parcel-plugin-externals": "0.4.0",
"prettier": "2.0.5",
"prettier-eslint": "9.0.1",
"release-it": "8.2.0",
"ts-jest": "25.4.0",
"typescript": "3.8.3"
"ts-loader": "8.0.4",
"typescript": "3.8.3",
"webpack": "4.44.2",
"webpack-cli": "3.3.12"
},
"externals": [
"react-native"
Expand Down
Loading

0 comments on commit d1b17b5

Please sign in to comment.