forked from react-dnd/react-dnd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
117 lines (117 loc) · 3 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"name": "react-dnd-parent",
"version": "5.0.1",
"private": true,
"description": "React-DnD Monorepo",
"repository": {
"type": "git",
"url": "https://github.com/baigfaizan95/react-dnd.git"
},
"keywords": [
"react",
"reactjs",
"file",
"drag",
"drop",
"html5",
"draggable",
"droppable",
"drag-and-drop",
"dnd",
"javascript",
"react-component",
"hoc"
],
"author": "Dan Abramov <dan.abramov@me.com> (http://github.com/gaearon)",
"contributors": [
"Chris Trevino <darthtrevino@gmail.com> (http://github.com/darthtrevino)",
"Jordan Gensler (http://github.com/kesne)",
"Gagan (https://github.com/thetechie)"
],
"license": "BSD-3-Clause",
"bugs": {
"url": "https://github.com/react-dnd/react-dnd/issues"
},
"homepage": "https://github.com/react-dnd/react-dnd",
"scripts": {
"clean": "lerna run clean",
"build": "lerna run build --stream",
"unit_test": "jest",
"jest:watch": "jest --watch",
"jest:cov": "jest --coverage",
"lint":
"tslint \"packages/**/*.{ts,tsx}\" -e \"**/{lib,node_modules}/**\"",
"test_modules": "lerna run test --stream",
"publish_docs": "lerna run publish --scope react-dnd-documentation",
"test": "run-s lint build test_modules jest:cov",
"prettify":
"prettier 'packages/*/**/*.js' 'examples/**/*.js' 'site/**/*.js'",
"precommit": "lint-staged",
"prepublish": "npm test",
"start": "lerna run --parallel --stream start",
"watch": "lerna run --parallel --stream watch"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-publish": "npm test",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"devDependencies": {
"@commitlint/cli": "^7.2.1",
"@commitlint/config-conventional": "^7.1.2",
"@types/jest": "^23.3.9",
"husky": "^1.1.3",
"jest": "^23.6.0",
"jest-environment-jsdom": "^23.4.0",
"lerna": "^3.4.3",
"lint-staged": "^8.0.4",
"npm-run-all": "^4.1.3",
"prettier": "^1.14.3",
"ts-jest": "^23.10.4",
"typescript": "^3.1.6",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.15.0",
"tslint-react": "~3.6.0"
},
"jest": {
"moduleFileExtensions": ["ts", "tsx", "js", "jsx"],
"collectCoverageFrom": [
"packages/*/src/**/*.{ts,tsx}",
"!**/__tests__/**"
],
"testMatch": [
"<rootDir>/packages/**/__tests__/**/?(*.)(spec|test).(t|j)s(x|)"
],
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
},
"moduleNameMapper": {
"^react-dnd$": "<rootDir>/packages/react-dnd/src",
"react-dnd-html5-backend":
"<rootDir>//packages/react-dnd-html5-backend/src",
"react-dnd-test-backend":
"<rootDir>//packages/react-dnd-test-backend/src",
"dnd-core": "<rootDir>//packages/dnd-core/src"
}
},
"lint-staged": {
"*.{js,jsx}": ["prettier --write", "git add"],
"*.{ts,tsx}": ["tslint --fix", "prettier --write", "git add"]
},
"prettier": {
"semi": false,
"singleQuote": true,
"trailingComma": "all",
"useTabs": true
},
"workspaces": {
"packages": ["packages/*"],
"nohoist": [
"**/@types/*",
"**/hoist-non-react-statics",
"**/redux"
]
}
}