Skip to content

Commit

Permalink
debug: use parcel but move typescript to devDeps
Browse files Browse the repository at this point in the history
  • Loading branch information
Eduard Lavuš committed Sep 4, 2020
1 parent 671b1ec commit 397cbda
Show file tree
Hide file tree
Showing 3 changed files with 582 additions and 527 deletions.
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
"version": "0.0.0",
"description": "Level 5 autonomous, self-driving API client, https://superface.ai",
"repository": "https://github.com/superindustries/superface-parser.git",
"source": "src/index.js",
"source": "lib/index.js",
"main": "dist/index.js",
"module": "dist/index.es.js",
"browser": "dist/index.browser.js",
"types": "dist/index.d.ts",
"author": "Superface Team",
"license": "MIT",
Expand All @@ -16,7 +18,8 @@
"registry": "https://npm.pkg.github.com/"
},
"scripts": {
"build": "tsc -p tsconfig.release.json",
"build": "yarn build_tsc && parcel build lib/index.js --detailed-report",
"build_tsc": "tsc -p tsconfig.release.json",
"prebuild": "yarn clean",
"clean": "rimraf dist/ && rimraf lib/",
"test": "jest",
Expand All @@ -36,6 +39,7 @@
"eslint-plugin-jest": "^23.20.0",
"eslint-plugin-simple-import-sort": "^5.0.3",
"jest": "^26.4.1",
"parcel": "^2.0.0-beta.1",
"prettier": "^2.1.1",
"rimraf": "^3.0.2",
"ts-jest": "^26.3.0"
Expand Down
5 changes: 3 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"lib": [],
"module": "CommonJS",
"outDir": "./dist",
"rootDir": "src/",
"module": "ESNext",
"outDir": "lib/",
"moduleResolution": "node",
"noFallthroughCasesInSwitch": true,
"noImplicitReturns": true,
Expand Down
Loading

0 comments on commit 397cbda

Please sign in to comment.