Skip to content

Commit

Permalink
Merge pull request #11 from robertcorponoi/hotfix/fix-types
Browse files Browse the repository at this point in the history
Hotfix/fix types
  • Loading branch information
robertcorponoi authored Sep 29, 2020
2 parents 2d9e565 + ddb17a8 commit 0e50150
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 2,207 deletions.
1,687 changes: 0 additions & 1,687 deletions index.js

This file was deleted.

528 changes: 15 additions & 513 deletions package-lock.json

Large diffs are not rendered by default.

7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "collider2d",
"version": "1.0.0",
"description": "A 2D collision checker for modern JavaScript games.",
"main": "index.js",
"main": "build/index.js",
"module": "collider2d.js",
"scripts": {
"rm:build": "rm -rf build",
Expand All @@ -15,8 +15,7 @@
"build:js": "babel src --out-dir build --extensions \".ts,.tsx\" --source-maps inline",
"bundle": "npm run rm:bundle && rollup -c",
"bundle:watch": "rollup -c --watch",
"test": "mocha",
"prepare": "npm run build && npm run bundle"
"test": "mocha"
},
"repository": {
"type": "git",
Expand All @@ -33,7 +32,7 @@
"module",
"sat"
],
"typings": "lib/index.d.ts",
"typings": "build/index.d.ts",
"author": "Robert Corponoi",
"license": "MIT",
"devDependencies": {
Expand Down
3 changes: 0 additions & 3 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ export default {
babel({ extensions, include: ['src/**/*'] }),
],
output: [{
file: pkg.main,
format: 'cjs',
}, {
file: pkg.module,
format: 'esm',
}],
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 0e50150

Please sign in to comment.