-
Notifications
You must be signed in to change notification settings - Fork 114
/
package.json
106 lines (106 loc) · 3.55 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
{
"name": "leancloud-storage",
"version": "4.15.3",
"main": "./dist/node/entry/index.js",
"description": "LeanCloud JavaScript SDK.",
"repository": {
"type": "git",
"url": "https://github.com/leancloud/javascript-sdk"
},
"scripts": {
"precommit": "pretty-quick --staged",
"lint": "tsc storage.d.ts --strict",
"test": "npm run lint && npm run test:node",
"test:node": "cross-env NODE_ENV=test PLATFORM=NODE_JS nyc mocha --timeout 300000 test/index.js",
"test:real": "cross-env REAL_BACKEND=1 npm run test:node",
"docs": "jsdoc src README.md package.json -d docs -c .jsdocrc.json",
"build:node": "cross-env PLATFORM=NODE_JS babel src --out-dir dist/node",
"build:core": "cross-env webpack --config webpack/core.js",
"build:browser": "cross-env PLATFORM=Browser webpack --config webpack/browser.js",
"build:weapp": "cross-env PLATFORM=Weapp webpack --config webpack/weapp.js",
"build:platforms": "npm run build:core && npm run build:browser && npm run build:weapp",
"build": "rimraf dist && npm run build:node && npm run build:platforms && cross-env LIVE_QUERY=1 npm run build:platforms",
"prepublishOnly": "./script/check-version.js"
},
"dependencies": {
"@babel/runtime-corejs3": "^7.18.6",
"@leancloud/adapter-types": "^5.0.0",
"@leancloud/platform-adapters-browser": "^1.5.3",
"@leancloud/platform-adapters-node": "^1.6.0",
"@leancloud/platform-adapters-weapp": "^1.6.3",
"debug": "^3.1.0",
"eventemitter3": "^2.0.3",
"leancloud-realtime": "^5.0.0-rc.8",
"leancloud-realtime-plugin-live-query": "^1.2.0",
"md5": "^2.0.0",
"promise-timeout": "^1.3.0",
"underscore": "^1.8.3",
"uuid": "^3.3.2"
},
"devDependencies": {
"@babel/cli": "^7.18.6",
"@babel/core": "^7.18.6",
"@babel/plugin-transform-runtime": "^7.18.6",
"@babel/preset-env": "^7.18.6",
"@babel/register": "^7.18.6",
"@pollyjs/adapter-node-http": "^2.6.2",
"@pollyjs/core": "^2.6.2",
"@pollyjs/persister-fs": "^2.6.2",
"babel-loader": "^8.2.5",
"babel-plugin-istanbul": "^6.1.1",
"babel-plugin-transform-inline-environment-variables": "^0.4.4",
"cross-env": "^5.1.3",
"docdash": "git+https://github.com/leeyeh/docdash.git#leancloud",
"eslint": "^2.8.0",
"eslint-config-airbnb": "^8.0.0",
"eslint-plugin-import": "^1.6.0",
"eslint-plugin-jsx-a11y": "^1.0.3",
"eslint-plugin-react": "^5.0.1",
"expect.js": "^0.3.0",
"husky": "^0.14.3",
"jsdoc": "^3.5.5",
"mocha": "^3.0.0",
"nyc": "^15.1.0",
"prettier": "^1.11.1",
"pretty-quick": "^1.4.1",
"rimraf": "^3.0.2",
"should": "^11.1.0",
"typescript": "^3.8.3",
"webpack": "^3.11.0",
"webpack-strip-block": "^0.2.0"
},
"license": "MIT",
"author": {
"name": "LeanCloud",
"email": "[email protected]"
},
"browser": {
"@leancloud/platform-adapters-node": "@leancloud/platform-adapters-browser",
"./src/utils/parse-base64.js": "./src/utils/parse-base64-browser.js",
"./dist/node/entry/index.js": "./dist/av.js"
},
"react-native": {
"./dist/node/entry/index.js": "./dist/av-core.js"
},
"weapp": {
"@leancloud/platform-adapters-node": "@leancloud/platform-adapters-weapp",
"./dist/node/entry/index.js": "./dist/av-weapp.js"
},
"typings": "./storage.d.ts",
"types": "./storage.d.ts",
"prettier": {
"singleQuote": true,
"trailingComma": "es5"
},
"nyc": {
"require": [
"@babel/register"
],
"reporter": [
"lcov",
"text"
],
"sourceMap": false,
"instrument": false
}
}