forked from yorkie-team/yorkie-js-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
95 lines (95 loc) · 3.33 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
{
"name": "yorkie-js-sdk",
"version": "0.2.19",
"description": "Yorkie JS SDK",
"main": "./dist/yorkie-js-sdk.js",
"typings": "./dist/yorkie-js-sdk.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "webpack --config ./config/webpack.config.js && npm run api-report && npm run prune",
"api-report": "api-extractor run --local --verbose --config ./config/api-extractor.json",
"build:proto": "protoc -I=./src/api --js_out=import_style=commonjs:./src/api --grpc-web_out=import_style=commonjs+dts,mode=grpcwebtext:./src/api ./src/api/yorkie/v1/*.proto",
"prune": "ts-node-script ./scripts/prune-dts.ts --input ./dist/yorkie-js-sdk.d.ts --output ./dist/yorkie-js-sdk.d.ts",
"predoc": "ts-node-script ./scripts/api-extractor.ts && sed -i.bak 's/_2//g' temp/yorkie-js-sdk.api.json temp/yorkie-js-sdk.api.md",
"build:docs": "npm run predoc && api-documenter markdown --input temp --output docs",
"dev": "webpack serve --config config/webpack.dev.config.js",
"test": "karma start ./config/karma.conf.js --single-run",
"test:yorkie.dev": "karma start ./config/karma.conf.js --single-run --testRPCAddr=https://api.yorkie.dev",
"test:watch": "karma start ./config/karma.conf.js",
"lint": "eslint . --fix --max-warnings=0 --ext .ts",
"prepare": "ts-patch install && npm run build",
"benchmark": "ts-node-script ./test/bench"
},
"engines": {
"node": ">=16.0.0",
"npm": ">=7.1.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/yorkie-team/yorkie-js-sdk.git"
},
"author": {
"name": "hackerwins",
"email": "<[email protected]>"
},
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/yorkie-team/yorkie-js-sdk/issues"
},
"homepage": "https://github.com/yorkie-team/yorkie-js-sdk#readme",
"devDependencies": {
"@microsoft/api-documenter": "^7.15.1",
"@microsoft/api-extractor": "^7.19.4",
"@types/benchmark": "^2.1.1",
"@types/chai": "^4.2.14",
"@types/mocha": "^8.0.4",
"@types/sinon": "^9.0.8",
"@types/yargs": "^17.0.0",
"@typescript-eslint/eslint-plugin": "^5.30.6",
"@typescript-eslint/parser": "^5.30.6",
"@webpack-cli/serve": "^1.6.0",
"benchmark": "^2.1.4",
"chai": "^4.2.0",
"copy-webpack-plugin": "^11.0.0",
"eslint": "^8.19.0",
"eslint-plugin-jsdoc": "^39.3.3",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-tsdoc": "^0.2.16",
"husky": "^4.3.0",
"istanbul-instrumenter-loader": "^2.0.0",
"karma": "^6.3.5",
"karma-chrome-launcher": "^3.1.0",
"karma-coverage-istanbul-reporter": "^3.0.3",
"karma-mocha": "^2.0.1",
"karma-source-map-support": "^1.4.0",
"karma-sourcemap-loader": "^0.3.8",
"karma-webpack": "^5.0.0",
"mocha": "^9.2.0",
"node-polyfill-webpack-plugin": "^1.1.4",
"prettier": "^2.7.1",
"sinon": "^9.2.1",
"ts-loader": "^9.3.1",
"ts-node": "^10.9.1",
"ts-patch": "^2.0.1",
"typescript": "^4.7.4",
"typescript-transform-paths": "^3.3.1",
"webpack": "^5.59.1",
"webpack-cli": "^4.9.1",
"webpack-dev-server": "^4.3.1",
"yargs": "^17.0.1"
},
"dependencies": {
"@types/google-protobuf": "^3.15.5",
"@types/long": "^4.0.1",
"google-protobuf": "^3.19.4",
"grpc-web": "^1.3.1",
"long": "^5.2.0"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint"
}
}
}