Skip to content

Commit

Permalink
Simplify building (#257)
Browse files Browse the repository at this point in the history
  • Loading branch information
radeno authored and naqvitalha committed Oct 9, 2018
1 parent 6ec05c6 commit 9e62414
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 14 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,4 @@ branches:
- 'master'
node_js:
- 'stable'
before_script:
- npm run setup
script: npm run build
script: npm run build
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"scripts": {
"build": "sh scripts/build.sh",
"clean": "sh scripts/clean.sh",
"setup": "sh scripts/setup.sh",
"release": "sh scripts/publish-latest.sh",
"release-beta": "sh scripts/publish-beta.sh",
"release-local": "sh scripts/publish-local.sh"
Expand Down Expand Up @@ -47,6 +46,9 @@
"@types/lodash.debounce": "4.0.3",
"@types/prop-types": "15.5.2",
"@types/react-native": "0.49.5",
"@types/react": "16.4.7"
"@types/react": "16.4.7",
"file-directives": "^1.4.6",
"tslint": "^5.11.0",
"typescript": "^3.1.1"
}
}
3 changes: 0 additions & 3 deletions scripts/setup.sh

This file was deleted.

11 changes: 5 additions & 6 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"compilerOptions": {
"lib": [
"es6",
"dom"
], // target Node.js(v6)
"lib": ["es6", "dom"], // target Node.js(v6)
"types": ["react", "react-native"],
"module": "commonjs", // export compatibility
"target": "es5", // target Node.js(v6)
"moduleResolution": "node", // target Node.js(v6)
Expand All @@ -13,6 +11,7 @@
"noImplicitReturns": true,
"removeComments": false,
"jsx": "react",
"sourceMap": true
"sourceMap": true,
"skipLibCheck": true
}
}
}

0 comments on commit 9e62414

Please sign in to comment.