Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add react-dnd-touch-backend * refactor: break up touchbackend code
- Loading branch information
1 parent
d25a66f
commit 707f4ae
Showing
18 changed files
with
853 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
packages/alternative_builds/cjs/touch-backend/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"name": "react-dnd-touch-backend-cjs", | ||
"version": "8.0.3", | ||
"license": "MIT", | ||
"description": "Touch backend for react-dnd", | ||
"main": "lib/index.js", | ||
"scripts": { | ||
"build": "tsc", | ||
"clean": "rimraf lib" | ||
}, | ||
"dependencies": { | ||
"@types/invariant": "^2.2.29", | ||
"invariant": "^2.2.4", | ||
"dnd-core-cjs": "^8.0.3" | ||
}, | ||
"devDependencies": { | ||
"npm-run-all": "^4.1.5", | ||
"rimraf": "^2.6.3", | ||
"typescript": "^3.5.2", | ||
"react-dnd-touch-backend": "8.0.3" | ||
}, | ||
"peerDependencies": {} | ||
} |
30 changes: 30 additions & 0 deletions
30
packages/alternative_builds/cjs/touch-backend/tsconfig.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"extends": "../../../../tsconfig.base.json", | ||
"compilerOptions": { | ||
"target": "es5", | ||
"module": "commonjs", | ||
"outDir": "lib", | ||
"esModuleInterop": true, | ||
"baseUrl": "/Users/christrevino/Workspace/oss/react-dnd/packages/core/touch-backend/", | ||
"paths": { | ||
"dnd-core": [ | ||
"../../core/dnd-core/lib/index.d.ts" | ||
], | ||
"react-dnd": [ | ||
"../../core/react-dnd/lib/index.d.ts" | ||
], | ||
"react-dnd-html5-backend": [ | ||
"../../core/html5-backend/lib/index.d.ts" | ||
], | ||
"react-dnd-test-backend": [ | ||
"../../testing/test-backend/lib/index.d.ts" | ||
], | ||
"react-dnd-test-utils": [ | ||
"../../testing/test-utils/lib/index.d.ts" | ||
] | ||
} | ||
}, | ||
"files": [ | ||
"/Users/christrevino/Workspace/oss/react-dnd/packages/core/touch-backend/src/index.ts" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"name": "react-dnd-touch-backend", | ||
"version": "8.0.3", | ||
"description": "Touch backend for react-dnd", | ||
"type": "module", | ||
"main": "lib/index.js", | ||
"module": "lib/index.js", | ||
"types": "lib/index.d.ts", | ||
"license": "MIT", | ||
"author": "Long Ho <holevietlong@gmail.com>", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/react-dnd/react-dnd.git" | ||
}, | ||
"scripts": { | ||
"clean": "rimraf lib", | ||
"build": "tsc -b tsconfig.json", | ||
"start": "tsc -b tsconfig.json -w --preserveWatchOutput" | ||
}, | ||
"dependencies": { | ||
"@types/invariant": "^2.2.29", | ||
"dnd-core": "^8.0.3", | ||
"invariant": "^2.2.4" | ||
}, | ||
"devDependencies": { | ||
"npm-run-all": "^4.1.5", | ||
"rimraf": "^2.6.3", | ||
"typescript": "^3.5.2" | ||
} | ||
} |
Oops, something went wrong.