-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
package.json
64 lines (64 loc) · 2.16 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"name": "@mgcrea/react-native-dnd",
"version": "2.4.1",
"description": "Modern and easy-to-use drag&drop library for react-native",
"author": "Olivier Louvignes <[email protected]>",
"repository": "github:mgcrea/react-native-dnd",
"license": "MIT",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"start": "cd example; npm start",
"dev": "cd example; npm run dev",
"android": "cd example; npm run android",
"ios": "cd example; npm run ios",
"build": "rm -rf dist/*; tsc --project tsconfig.build.json && tsc-alias -p tsconfig.build.json",
"build:tsup": "tsup src/index.ts --format cjs,esm --sourcemap --dts --clean",
"watch": "npm run build -- --watch",
"prettify": "prettier --write src/ test/",
"lint": "eslint src/ test/",
"spec": "jest",
"check": "tsc --noEmit",
"test": "npm run typecheck && npm run spec && npm run lint && npm run prettycheck",
"prepublishOnly": "npm run build"
},
"peerDependencies": {
"react": ">=17",
"react-native": ">=0.70",
"react-native-gesture-handler": ">=2",
"react-native-reanimated": ">=3"
},
"devDependencies": {
"@babel/cli": "^7.25.9",
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@babel/runtime": "^7.26.0",
"@mgcrea/eslint-config-react-native": "^0.12.18",
"@testing-library/jest-native": "^5.4.3",
"@testing-library/react-native": "^12.8.1",
"@tsconfig/react-native": "^3.0.5",
"@types/jest": "^29.5.14",
"@types/react": "^18.3.12",
"@types/react-test-renderer": "^18.3.0",
"babel-jest": "^29.7.0",
"babel-plugin-module-resolver": "^5.0.2",
"eslint": "~9.14.0",
"jest": "^30.0.0-alpha.6",
"metro-react-native-babel-preset": "^0.77.0",
"prettier": "^3.3.3",
"prettier-plugin-organize-imports": "^4.1.0",
"react": "^18.3.1",
"react-native": "^0.76.2",
"react-native-gesture-handler": "^2.21.1",
"react-native-haptic-feedback": "^2.3.3",
"react-native-reanimated": "^3.16.2",
"react-test-renderer": "^18.3.1",
"tsc-alias": "^1.8.10",
"tsup": "^8.3.5",
"typescript": "^5.6.3"
}
}