-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
136 lines (136 loc) Β· 3.54 KB
/
package.json
File metadata and controls
136 lines (136 loc) Β· 3.54 KB
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
{
"name": "react-converse",
"description": "React component for creating chatbots via graph data",
"version": "1.0.1",
"author": "Sergey Bekrin <sergey@bekrin.me> (http://bekrin.me)",
"license": "MIT",
"repository": "react-converse/react-converse",
"main": "dist/cjs/react-converse.js",
"jsnext:main": "dist/esm/index.js",
"module": "dist/esm/index.js",
"files": [
"index.js",
"graph.js",
"index.d.ts",
"graph.d.ts",
"dist/"
],
"keywords": [
"react",
"bot",
"chat",
"chatbot",
"conversation",
"converse",
"react-converse"
],
"scripts": {
"prepublishOnly": "npm test && npm run build",
"precommit": "lint-staged",
"build:esm": "babel src/ -d dist/esm/ --ignore *.spec.js",
"build:cjs": "webpack",
"build:styleguide": "styleguidist build",
"prebuild": "rimraf dist/ styleguide/",
"build": "cross-env NODE_ENV=production npm run build:esm && npm run build:cjs && npm run build:styleguide",
"test": "cross-env NODE_ENV=test npm run eslint && npm run flow && npm run jest",
"eslint": "eslint src/ docs/",
"jest": "jest",
"flow": "flow src/",
"coverage": "cat coverage/lcov.info | coveralls",
"styleguide": "styleguidist server",
"deploy": "gh-pages-travis"
},
"dependencies": {
"create-react-context": "^0.2.2",
"hoist-non-react-statics": "^2.3.1",
"invariant": "^2.2.2"
},
"devDependencies": {
"@types/react": "^16.4.6",
"@types/react-dom": "^16.0.4",
"babel-cli": "^6.26.0",
"babel-eslint": "^8.2.1",
"babel-loader": "^7.1.2",
"babel-plugin-root-import": "^6.1.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.24.1",
"coveralls": "^3.0.2",
"cross-env": "^5.1.3",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint": "^5.0.1",
"eslint-config-prettier": "^2.9.0",
"eslint-config-unobtrusive": "^1.2.1",
"eslint-plugin-flowtype": "^2.43.0",
"eslint-plugin-prettier": "^2.6.0",
"eslint-plugin-react": "^7.10.0",
"flow-bin": "^0.76.0",
"gh-pages-travis": "^1.0.4",
"html-webpack-plugin": "^3.0.0",
"html-webpack-react-root-plugin": "^0.9.0",
"husky": "^0.14.3",
"jest": "^23.2.0",
"lint-staged": "^7.0.0",
"prettier": "^1.13.7",
"prop-types": "^15.6.0",
"raf": "^3.4.0",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-styleguidist": "^7.0.20",
"rimraf": "^2.6.2",
"styled-components": "^3.1.6",
"webpack": "^4.14.0",
"webpack-cli": "^3.0.8"
},
"peerDependencies": {
"react": "^15.0.0 || ^16.0.0",
"react-dom": "^15.0.0 || ^16.0.0"
},
"browserslist": "last 2 versions, ie 10",
"babel": {
"presets": [
"./.babel"
]
},
"eslintConfig": {
"parser": "babel-eslint",
"extends": [
"prettier",
"prettier/react",
"prettier/flowtype",
"unobtrusive",
"unobtrusive/react",
"unobtrusive/flowtype"
],
"env": {
"browser": true,
"node": true,
"jest": true
}
},
"prettier": {
"singleQuote": true,
"trailingComma": "es5",
"proseWrap": "always"
},
"jest": {
"setupTestFrameworkScriptFile": "./.jest.js",
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.js"
]
},
"lint-staged": {
"*.js": [
"prettier --parser flow --write",
"eslint",
"git add"
],
"*.{json,md}": [
"prettier --write",
"git add"
]
}
}