Skip to content

Commit

Permalink
#1: update package scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo Y. Li committed Apr 18, 2019
1 parent de5f927 commit 270d19f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 3 additions & 3 deletions addons/addon-contexts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
},
"scripts": {
"prettier": "prettier --config .prettierrc --write '**/*.{ts,tsx}'",
"type:check": "tsc",
"type:watch": "tsc --watch",
"type:emit": "tsc --noEmit false --emitDeclarationOnly",
"type:check": "tsc --isolatedModules --noEmit ",
"type:watch": "yarn type:check --watch",
"type:emit": "rm -rf dist && tsc --declaration --emitDeclarationOnly",
"test": "jest --passWithNoTests",
"build": "babel src --out-dir dist --extensions \".ts,.tsx\" --ignore src/@types",
"prepare": "yarn test && yarn type:emit && yarn build"
Expand Down
2 changes: 0 additions & 2 deletions addons/addon-contexts/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
"jsx": "react",
"target": "esnext",
"moduleResolution": "node",
"declaration": true,
"noEmit": true,
"strict": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true
Expand Down

0 comments on commit 270d19f

Please sign in to comment.