-
Notifications
You must be signed in to change notification settings - Fork 15
/
package.json
94 lines (94 loc) · 2.81 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
{
"name": "tcb-js-sdk",
"version": "1.11.0-beta",
"description": "js sdk for tcb",
"main": "dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"build": "npm run tsc && webpack",
"tsc": "tsc -p tsconfig.json",
"tsc:w": "tsc -p tsconfig.json -w",
"test": "jest --verbose false -i",
"e2e": "NODE_ENV=e2e webpack && jest --config=\"./jest.e2e.config.js\" --verbose false -i \"e2e\"",
"start": "webpack-dev-server --hot --open",
"eslint": "eslint \"./**/*.js\" \"./**/*.ts\"",
"eslint-fix": "eslint --fix \"./**/*.js\" \"./**/*.ts\"",
"test_web": "npm run tsc && webpack-dev-server --devtool eval-source-map --progress --colors --hot --inline --content-base ./dist --host jimmytest-088bef.tcb.qcloud.la --port 80 --disableHostCheck true --mode development --config webpack.test.js",
"prepublish": "npm run tsc"
},
"repository": {
"type": "git",
"url": "https://github.com/TencentCloudBase/tcb-js-sdk"
},
"keywords": [
"tcb",
"js-sdk"
],
"author": "jimmyjzhang",
"license": "ISC",
"dependencies": {
"@cloudbase/adapter-interface": "^0.4.0",
"@cloudbase/database": "^0.9.18-beta",
"axios": "^0.19.1",
"cloudbase-adapter-wx_mp": "^0.1.3",
"crypto-js": "^3.1.9-1",
"fingerprintjs2": "^2.1.0",
"url": "^0.11.0"
},
"devDependencies": {
"@babel/core": "^7.6.2",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-proposal-object-rest-spread": "^7.6.2",
"@babel/plugin-transform-runtime": "^7.6.2",
"@babel/preset-env": "^7.6.2",
"@babel/preset-typescript": "^7.6.0",
"@babel/runtime": "^7.6.2",
"@types/jest": "^23.1.4",
"@types/node": "^10.14.4",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.6",
"core-js": "3",
"dts-bundle": "^0.7.3",
"eslint": "^5.16.0",
"eslint-config-alloy": "^1.4.2",
"eslint-config-prettier": "^4.1.0",
"eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-typescript": "^1.0.0-rc.3",
"express": "^4.17.1",
"husky": "^3.1.0",
"jest": "^24.7.1",
"jest-puppeteer": "^4.3.0",
"lint-staged": "^9.5.0",
"package-json-cleanup-loader": "^1.0.3",
"power-assert": "^1.6.1",
"puppeteer": "^1.20.0",
"serve-static": "^1.14.1",
"ts-jest": "^23.10.4",
"ts-loader": "^6.2.1",
"typescript": "^3.4.3",
"typescript-eslint-parser": "^22.0.0",
"uglifyjs-webpack-plugin": "^2.2.0",
"webpack": "^4.43.0",
"webpack-bundle-analyzer": "^3.4.1",
"webpack-cli": "^3.3.0",
"webpack-dev-server": "^3.11.0",
"webpack-visualizer-plugin": "^0.1.11"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts}": [
"eslint --fix",
"git add"
]
},
"browserslist": [
"last 2 version",
"> 1%",
"not dead",
"chrome 53"
]
}