Skip to content

Commit

Permalink
Merge pull request #51 from elraccoone/improvements/typescript-upgrade
Browse files Browse the repository at this point in the history
Improvements/typescript upgrade
  • Loading branch information
Jeffrey Lanters authored Nov 1, 2018
2 parents 5a0427f + bc75091 commit 7a96553
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 10 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,7 @@ logs
*.d.ts.map
*.js.map
*.d.ts
*.js
*.js
#.ts

#.github
7 changes: 5 additions & 2 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ node_modules
.npm
logs

*.d.ts.map
*.js.map
#*.d.ts.map
#*.js.map
#*.d.ts
#*.js
.ts

.github
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
{
"name": "react-unity-webgl",
"version": "7.0.6",
"version": "7.0.7",
"description": "React Unity WebGL provides an easy solution for embedding Unity WebGL builds in your React application, with two-way communication between your React and Unity application with advanced API's.",
"main": "source/index.js",
"scripts": {
"start": "tsc source/index.ts --declaration --declarationMap --sourceMap --module CommonJS --watch",
"compile": "tsc source/index.ts --declaration --declarationMap --sourceMap --module CommonJS",
"start": "tsc --watch",
"compile": "tsc",
"prepublish": "npm run compile"
},
"repository": {
"type": "git",
"url": "git+https://github.com/jeffreylanters/react-unity-webgl.git"
"url": "git+https://github.com/elraccoone/react-unity-webgl.git"
},
"keywords": [
"React",
"Unity",
"WebGL"
],
"author": "Jeffrey Lanters",
"license": "ISC",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/jeffreylanters/react-unity-webgl/issues"
"url": "https://github.com/elraccoone/react-unity-webgl/issues"
},
"homepage": "https://jeffreylanters.nl/react-unity-webgl",
"homepage": "https://github.com/elraccoone/react-unity-webgl/wiki",
"dependencies": {
"react": "16.4.1"
},
Expand Down
11 changes: 11 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"strict": true,
"esModuleInterop": true
}
}

0 comments on commit 7a96553

Please sign in to comment.