forked from danreeves/react-tether
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
154 lines (154 loc) Β· 4.02 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
{
"name": "react-tether",
"version": "2.0.0",
"description": "Drop content anywhere on the page.",
"main": "lib/react-tether.js",
"types": "lib/react-tether.d.ts",
"scripts": {
"build:lib": "babel src --out-dir lib",
"build": "npm run build:lib && webpack --mode production && cp src/react-tether.d.ts lib/react-tether.d.ts",
"prebuild": "rm -rf dist && mkdir dist && rm -rf lib && mkdir lib",
"prepack": "npm run build",
"prepublishOnly": "npm run test",
"demo": "parcel example/index.html",
"demo:deploy": "./bin/build-demo",
"unit": "jest tests/unit",
"e2e": "testcafe chrome tests/e2e --app 'npm run demo'",
"e2e:full": "testcafe \"saucelabs:Chrome\",\"saucelabs:Firefox\",\"saucelabs:Safari\",\"saucelabs:MicrosoftEdge\" tests/e2e --app 'npm run demo'",
"test": "npm run lint && npm run typescript && npm run unit",
"tdd": "npm run unit -- --watch",
"react:16": "enzyme-adapter-react-install 16",
"danger": "danger ci",
"typescript": "tsc -p tsconfig.json",
"lint": "xo"
},
"repository": {
"type": "git",
"url": "https://github.com/danreeves/react-tether"
},
"keywords": [
"react",
"react-tether",
"tether",
"component",
"drop"
],
"author": "Travis Arnold <[email protected]> (http://souporserious.com)",
"license": "MIT",
"bugs": {
"url": "https://github.com/danreeves/react-tether/issues"
},
"homepage": "https://github.com/danreeves/react-tether",
"dependencies": {
"prop-types": "^15.6.2",
"tether": "^1.4.5"
},
"peerDependencies": {
"react": "^16.3.0",
"react-dom": "^16.3.0"
},
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-proposal-export-default-from": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-flow": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@types/react": "^16.7.6",
"@types/react-dom": "^16.0.9",
"@types/tether": "^1.4.4",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^23.4.2",
"babel-loader": "^8.0.4",
"chroma-js": "^1.4.0",
"coveralls": "3.0.2",
"danger": "^6.1.4",
"danger-plugin-istanbul-coverage": "1.6.0",
"enzyme": "^3.7.0",
"enzyme-adapter-react-helper": "^1.3.1",
"eslint-config-prettier": "^3.3.0",
"eslint-config-xo-react": "^0.17.0",
"eslint-plugin-react": "^7.11.1",
"git-directory-deploy": "1.5.1",
"husky": "^1.1.4",
"istanbul-merge": "1.1.1",
"jest": "^23.6.0",
"nyc": "^13.1.0",
"parcel-bundler": "^1.10.3",
"prettier": "^1.15.2",
"pretty-quick": "^1.8.0",
"react": "^16.6.3",
"react-dom": "^16.6.3",
"react-draggable": "3.0.5",
"strip-indent": "2.0.0",
"styled-components": "^4.1.1",
"testcafe": "^0.23.3",
"testcafe-browser-provider-saucelabs": "^1.6.0",
"typescript": "^3.1.6",
"webpack": "^4.25.1",
"webpack-cli": "^3.1.2",
"xo": "^0.23.0"
},
"files": [
"dist",
"lib"
],
"prettier": {
"singleQuote": true,
"trailingComma": "es5"
},
"xo": {
"parser": "babel-eslint",
"envs": [
"node",
"browser",
"es6",
"jest"
],
"extends": [
"prettier",
"plugin:react/recommended"
],
"overrides": [
{
"files": "src/TetherComponent.jsx",
"rules": {
"unicorn/filename-case": 0,
"react/no-find-dom-node": 0
}
},
{
"files": "tests/e2e/*.js",
"globals": [
"fixture"
],
"rules": {
"no-unused-expressions": 0
}
}
],
"settings": {
"import/resolver": {
"node": {
"extensions": [
".js",
".jsx"
]
}
}
}
},
"jest": {
"setupTestFrameworkScriptFile": "<rootDir>tests/jest-config.js",
"collectCoverageFrom": [
"src/**/*.{js,jsx}"
]
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
}
}