forked from chrisjpatty/react-dragtastic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
75 lines (75 loc) · 2.17 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
{
"name": "react-dragtastic",
"version": "2.4.3",
"description": "A simple drag and drop library for React which uses the more stable mouseDown mouseUp architecture instead of the problematic HTML5 drag and drop API.",
"main": "build/index.js",
"module": "build/index.es.js",
"files": [
"build"
],
"scripts": {
"build:flow": "cpy src/index.js.flow build",
"typecheck:flow": "flow check --max-warnings=0",
"pretest": "yarn build",
"test": "jest",
"posttest": "prettier --list-different \"**/*.js\" --ignore-path .gitignore",
"start": "cross-env NODE_ENV=build rollup --config --watch",
"build": "cross-env NODE_ENV=build rollup --config",
"postbuild": "yarn build:flow",
"precommit": "lint-staged"
},
"prettier": {
"single-quote": true,
"semi": false
},
"lint-staged": {
"*.{js,md}": [
"prettier --write",
"git add"
]
},
"jest": {
"globalSetup": "./src/jest-global-setup.js",
"globalTeardown": "./src/jest-global-teardown.js",
"testEnvironment": "./src/jest-puppeteer-environment.js"
},
"author": "@chrisjpatty",
"repository": {
"type": "git",
"url": "https://github.com/chrisjpatty/react-dragtastic"
},
"license": "MIT",
"peerDependencies": {
"react": "^15.5.4 || ^16.0.0"
},
"dependencies": {
"prop-types": "^15.6.0"
},
"devDependencies": {
"babel-core": "^6.26.0",
"babel-jest": "^22.1.0",
"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.0",
"babel-plugin-transform-object-rest-spread": "^6.23.0",
"babel-plugin-transform-react-jsx": "^6.24.1",
"babel-preset-env": "^1.5.1",
"cpy-cli": "^1.0.1",
"cross-env": "^5.1.3",
"del": "^3.0.0",
"flow-bin": "^0.66.0",
"husky": "^0.14.3",
"jest": "^22.1.4",
"jest-environment-node": "^22.1.4",
"lint-staged": "^6.1.0",
"make-dir": "^1.1.0",
"np": "^2.18.3",
"prettier": "^1.10.2",
"puppeteer": "^1.0.0",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"rollup": "^0.55.3",
"rollup-plugin-babel": "^3.0.3",
"rollup-watch": "^4.3.1"
}
}