forked from react-dnd/react-dnd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
107 lines (107 loc) · 2.75 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
{
"name": "react-dnd-master",
"private": true,
"description": "React-DnD Monorepo",
"repository": {
"type": "git",
"url": "https://github.com/react-dnd/react-dnd.git"
},
"keywords": [
"react",
"reactjs",
"file",
"drag",
"drop",
"html5",
"draggable",
"droppable",
"drag-and-drop",
"dnd",
"javascript",
"react-component",
"hoc"
],
"author": "Dan Abramov <[email protected]> (http://github.com/gaearon)",
"contributors": [
"Chris Trevino <[email protected]> (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": "./scripts/publishDocumentation.sh",
"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"
},
"devDependencies": {
"@types/jest": "^22.2.3",
"husky": "^0.14.3",
"jest": "^23.0.0-beta.3r",
"jest-environment-jsdom": "^22.4.3",
"lerna": "^2.9.0",
"lint-staged": "^4.2.3",
"npm-run-all": "^4.1.2",
"prettier": "^1.11.1",
"ts-jest": "^22.4.4",
"tslint": "^5.9.1",
"tslint-config-prettier": "^1.12.0",
"tslint-react": "^3.5.1"
},
"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",
"**/autobind-decorator",
"**/redux"
]
}
}