-
Notifications
You must be signed in to change notification settings - Fork 18
/
package.json
98 lines (98 loc) · 3.22 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
{
"name": "minapp-sdk",
"version": "3.23.3",
"main": "./lib/index.js",
"browser": "./lib/web.js",
"miniprogram": "lib",
"description": "爱范儿知晓云平台 JS SDK",
"license": "Apache-2.0",
"files": [
"/lib",
"index.d.ts"
],
"tsd": {
"directory": "types/test"
},
"scripts": {
"test": "npm run gen-types && npm run test-core && npm run test-wechat && npm run test-web && npm run test-alipay && npm run test-qq && npm run test-baidu",
"test-core": "jest",
"test-wechat": "mocha test/wechat/index.js",
"test-alipay": "mocha test/alipay/index.js",
"test-web": "./test/web/test.sh",
"test-qq": "ava test/qq/*.test.js",
"test-baidu": "ava test/baidu/*.test.js",
"test-kuaishou": "mocha test/kuaishou/index.js",
"test-react-native": "mocha test/react-native/*.test.js",
"web-dev-server": "anywhere -p 40034 -h localhost -d test/web-dev-server",
"dev": "export NODE_ENV=development && webpack --config sdk-file/webpack.config.js --mode=development -w",
"build": "export NODE_ENV=production && webpack --mode=production --config sdk-file/webpack.config.js",
"lint": "eslint core/**/*.js core/*.js sdk-file/src/**/*.js --fix",
"gen-types": "scripts/gen-types.sh",
"gen-docs-wechat": "jsdoc -c jsdoc-configs/docs-wechat.json",
"gen-docs-web": "jsdoc -c jsdoc-configs/docs-web.json",
"gen-docs-qq": "jsdoc -c jsdoc-configs/docs-qq.json",
"gen-docs-alipay": "jsdoc -c jsdoc-configs/docs-alipay.json",
"gen-docs-baidu": "jsdoc -c jsdoc-configs/docs-baidu.json",
"gen-docs-bytedance": "jsdoc -c jsdoc-configs/docs-bytedance.json",
"gen-docs": "npm run gen-docs-wechat && npm run gen-docs-web && npm run gen-docs-qq && npm run gen-docs-baidu && npm run gen-docs-alipay && npm run gen-docs-bytedance",
"tsd": "tsd"
},
"repository": {
"type": "git",
"url": "git://github.com/ifanrx/repository.git"
},
"keywords": [
"ifanrx"
],
"author": "ifanrx",
"bugs": {
"url": "https://github.com/ifanrx/repository/issues"
},
"homepage": "https://github.com/ifanrx/repository#readme",
"husky": {
"hooks": {
"pre-commit": "npm run lint",
"pre-push": "npm test"
}
},
"devDependencies": {
"@babel/core": "^7.2.2",
"@babel/plugin-transform-object-assign": "^7.2.0",
"@babel/preset-env": "^7.2.3",
"@otris/jsdoc-tsd": "1.0.4",
"anywhere": "^1.5.0",
"babel-loader": "^8.0.5",
"chai": "^3.5.0",
"copy-webpack-plugin": "^4.6.0",
"eslint": "4.19.1",
"faker": "^4.1.0",
"husky": "^3.1.0",
"jest": "^26.0.1",
"jsdoc": "^3.6.3",
"jsdoc-typeof-plugin": "^1.0.0",
"jsdom": "^16.5.0",
"json-format": "^1.0.1",
"mocha": "^4.0.0",
"mochawesome": "^2.2.0",
"module-alias": "^2.2.0",
"node-localstorage": "^1.3.0",
"proxyquire": "^2.1.0",
"rewire": "^2.5.2",
"shelljs": "^0.8.3",
"sinon": "^4.0.0",
"sinon-chai": "^3.3.0",
"sinon-stub-promise": "^4.0.0",
"tsd": "^0.9.0",
"webpack": "^4.28.3",
"webpack-cli": "^3.2.1"
},
"dependencies": {
"ava": "^2.3.0",
"axios": "^0.21.1",
"console-log-level": "^1.4.1",
"core-js": "^3.0.1",
"dayjs": "^1.11.8",
"regenerator-runtime": "^0.13.11",
"spark-md5": "^3.0.2"
}
}