-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
116 lines (116 loc) · 3.74 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
{
"name": "react-wechat-api",
"version": "0.1.2",
"description": "React Wechat JSSDK component for SPA",
"repository": "Cap32/react-wechat-api",
"scripts": {
"start": "cross-env REACT_DEMO=true webpack-dev-server",
"test": "cross-env BABEL_ENV=cjs jest",
"watch": "yarn test -- --watchAll",
"coverage": "yarn test -- --coverage",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"format": "prettier-eslint --write \"+(src|test)/**/*.js\"",
"rimraf": "rimraf ./dist ./lib ./es",
"mkdir": "mkdirp ./dist ./lib ./es",
"prebuild": "run-s rimraf mkdir",
"build:cjs": "cross-env BABEL_ENV=cjs babel src -d lib --ignore __tests__",
"build:es": "cross-env BABEL_ENV=es babel src -d es --ignore __tests__",
"build:umd": "cross-env NODE_ENV=production webpack",
"build:min": "cross-env NODE_ENV=production webpack --env.minify",
"build": "run-p build:*",
"preversion": "yarn test && yarn build"
},
"files": [
"README.md",
"LICENSE.md",
"lib",
"es",
"dist"
],
"main": "lib/index.js",
"module": "es/index.js",
"jsnext:main": "es/index.js",
"author": "Cap32",
"license": "MIT",
"keywords": [
"react",
"wechat",
"jssdk",
"share",
"wx"
],
"dependencies": {
"create-react-context": "^0.2.3",
"emit-lite": "^2.0.0",
"prop-types": "^15.5.7",
"tiny-invariant": "^1.0.3"
},
"peerDependencies": {
"react": "^15.0.0-0 || ^16.0.0-0"
},
"devDependencies": {
"@babel/cli": "^7.1.2",
"@babel/core": "^7.1.2",
"@babel/plugin-proposal-class-properties": "^7.1.0",
"@babel/plugin-proposal-decorators": "^7.1.2",
"@babel/plugin-proposal-do-expressions": "^7.0.0",
"@babel/plugin-proposal-export-default-from": "^7.0.0",
"@babel/plugin-proposal-export-namespace-from": "^7.0.0",
"@babel/plugin-proposal-function-bind": "^7.0.0",
"@babel/plugin-proposal-function-sent": "^7.1.0",
"@babel/plugin-proposal-json-strings": "^7.0.0",
"@babel/plugin-proposal-logical-assignment-operators": "^7.0.0",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.0.0",
"@babel/plugin-proposal-numeric-separator": "^7.0.0",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/plugin-proposal-optional-chaining": "^7.0.0",
"@babel/plugin-proposal-pipeline-operator": "^7.0.0",
"@babel/plugin-proposal-throw-expressions": "^7.0.0",
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
"@babel/plugin-syntax-import-meta": "^7.0.0",
"@babel/preset-env": "^7.1.0",
"@babel/preset-react": "^7.0.0",
"@babel/register": "^7.0.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^23.6.0",
"babel-loader": "^8.0.2",
"coveralls": "^3.0.2",
"cross-env": "^3.1.3",
"delay": "^4.1.0",
"enzyme": "^3.7.0",
"enzyme-adapter-react-16": "^1.6.0",
"eslint": "^5.8.0",
"eslint-config-cantonjs": "^2.2.0",
"eslint-config-standard": "^12.0.0",
"eslint-import-resolver-webpack": "^0.10.1",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jest": "^21.26.2",
"eslint-plugin-node": "^7.0.1",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-react": "^7.11.1",
"eslint-plugin-standard": "^4.0.0",
"jest": "^23.6.0",
"mkdirp": "^0.5.1",
"npm-run-all": "^4.0.2",
"prettier-eslint-cli": "^4.7.1",
"react": "^16.6.0",
"react-dom": "^16.6.0",
"react-test-renderer": "^16.6.0",
"rimraf": "^2.5.4",
"webpack": "^4.8.3",
"webpack-cli": "^2.0.10",
"webpack-dev-server": "^3.1.4"
},
"jest": {
"collectCoverageFrom": [
"<rootDir>/src/**/*.js"
],
"modulePathIgnorePatterns": [
"node_modules",
"<rootDir>/lib/",
"<rootDir>/es/",
"<rootDir>/dist/"
]
}
}