forked from react-component/editor-mention
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
87 lines (87 loc) · 2.05 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
{
"name": "rc-editor-mention",
"version": "1.1.6",
"description": "mention ui component for react",
"keywords": [
"react",
"react-component",
"react-mention",
"mention"
],
"homepage": "https://github.com/react-component/mention",
"author": "[email protected]",
"repository": {
"type": "git",
"url": "https://github.com/react-component/mention.git"
},
"bugs": {
"url": "https://github.com/react-component/mention/issues"
},
"main": "./lib/index",
"module": "./es/index",
"files": [
"assets/*.css",
"es",
"lib"
],
"licenses": "MIT",
"config": {
"port": 8002
},
"scripts": {
"build": "rc-tools run build",
"compile": "rc-tools run compile --babel-runtime",
"gh-pages": "rc-tools run gh-pages",
"start": "rc-tools run server",
"pub": "rc-tools run pub --babel-runtime",
"lint": "rc-tools run lint",
"lint:fix": "rc-tools run lint --fix",
"test": "jest",
"prepublish": "rc-tools run guard",
"coverage": "jest --coverage && cat ./coverage/lcov.info | coveralls"
},
"devDependencies": {
"coveralls": "^2.13.1",
"enzyme": "^3.1.1",
"enzyme-adapter-react-16": "^1.0.0-beta.5",
"enzyme-to-json": "^3.0.0-beta6",
"jest": "^19.0.2",
"mock-raf": "^1.0.0",
"pre-commit": "1.x",
"rc-form": "1.x",
"rc-tools": "7.x",
"react": "^16.0.0",
"react-dom": "^16.0.0",
"react-test-renderer": "16.0.0"
},
"pre-commit": [
"lint"
],
"dependencies": {
"babel-runtime": "^6.23.0",
"classnames": "^2.2.5",
"dom-scroll-into-view": "^1.2.0",
"draft-js": "~0.10.0",
"prop-types": "^15.5.8",
"rc-animate": "^2.3.0",
"rc-editor-core": "~0.8.3"
},
"peerDependencies": {
"immutable": "^3.7.4"
},
"jest": {
"verbose": true,
"collectCoverageFrom": [
"src/component/*"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"setupFiles": [
"./tests/shim.js"
],
"transform": {
"\\.jsx?$": "./node_modules/rc-tools/scripts/jestPreprocessor.js"
}
}
}