forked from webscopeio/react-textarea-autocomplete
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
119 lines (119 loc) · 3.23 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
{
"name": "@webscopeio/react-textarea-autocomplete",
"version": "4.7.3",
"description": "Offers autocomplete over textarea in style of GitHub.",
"repository": {
"type": "git",
"url": "https://github.com/webscopeio/react-textarea-autocomplete"
},
"files": [
"dist",
"types.js",
"style.css"
],
"main": "dist/react-textarea-autocomplete.cjs.js",
"module": "dist/react-textarea-autocomplete.es.js",
"unpkg": "dist/react-textarea-autocomplete.umd.min.js",
"author": "Jakub Benes <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/webscopeio/react-textarea-autocomplete/issues"
},
"homepage": "https://github.com/webscopeio/react-textarea-autocomplete",
"keywords": [
"react-component",
"textarea",
"autocomplete",
"react"
],
"scripts": {
"build": "cp src/types.js types.js && rollup -c",
"dev": "yarn run example --open",
"example": "webpack-dev-server --config webpack.dev.config.js",
"example:build": "webpack --config webpack.prod.config.js",
"prepublish": "yarn run build",
"lint": "eslint --ext=js --ext=jsx ./src",
"lint:fix": "yarn run lint -- --fix",
"test": "jest",
"test:watch": "jest --watch",
"flow": "flow",
"flow:check": "flow check",
"cypress": "yarn run example & wait-on http://localhost:8080 && cypress run --headed",
"cypress:open": "cypress open"
},
"devDependencies": {
"@babel/core": "7.2.2",
"@babel/polyfill": "7.0.0",
"@babel/runtime": "7.2.0",
"@jukben/emoji-search": "1.1.7",
"@jukben/eslint-config": "0.0.6",
"all-contributors-cli": "^6.16.0",
"babel-core": "7.0.0-bridge.0",
"babel-jest": "23.6.0",
"babel-loader": "8.0.4",
"babel-preset-react-app": "6.1.0",
"css-loader": "2.0.1",
"cypress": "3.1.5",
"enzyme": "^3.7.0",
"enzyme-adapter-react-16": "^1.6.0",
"enzyme-to-json": "^3.3.4",
"eslint": "5.4.0",
"eslint-plugin-prettier": "^2.5.0",
"flow-bin": "^0.60.1",
"html-webpack-plugin": "3.2.0",
"husky": "1.2.1",
"jest": "24.8.0",
"lint-staged": "8.1.0",
"prettier": "1.15.3",
"react": "16.6.0",
"react-dom": "16.6.0",
"react-test-renderer": "16.6.0",
"regenerator-runtime": "^0.13.1",
"rollup": "0.67.4",
"rollup-plugin-babel": "4.1.0",
"rollup-plugin-commonjs": "9.2.0",
"rollup-plugin-license": "0.7.0",
"rollup-plugin-node-resolve": "4.0.0",
"rollup-plugin-uglify": "6.0.0",
"style-loader": "0.23.1",
"wait-on": "^3.2.0",
"webpack": "4.27.1",
"webpack-cli": "3.1.2",
"webpack-dev-server": "3.7.2"
},
"peerDependencies": {
"prop-types": "^15.0.0",
"react": "^16.0.0",
"react-dom": "^16.0.0"
},
"dependencies": {
"custom-event": "^1.0.1",
"textarea-caret": "3.0.2"
},
"husky": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"src/*.{js,jsx}": [
"eslint src --fix",
"prettier --write",
"git add"
]
},
"jest": {
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"setupFiles": [
"<rootDir>/setupJest.js"
],
"moduleNameMapper": {
"\\.(css|scss)$": "<rootDir>/__mocks__/styleMock.js"
}
},
"babel": {
"presets": [
"react-app"
]
}
}