forked from yorkie-team/yorkie-js-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
94 lines (94 loc) · 3.29 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": "yorkie-js-sdk",
"version": "0.2.12",
"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/*.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",
"start": "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/**.ts"
},
"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": "^3.10.1",
"@typescript-eslint/parser": "^3.10.1",
"@webpack-cli/serve": "^1.6.0",
"benchmark": "^2.1.4",
"chai": "^4.2.0",
"eslint": "^7.14.0",
"eslint-plugin-jsdoc": "^32.2.0",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-tsdoc": "^0.2.10",
"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.2.0",
"sinon": "^9.2.1",
"ts-loader": "^8.0.11",
"ts-node": "^10.0.0",
"ts-patch": "^1.4.3",
"typescript": "^3.9.7",
"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"
}
}
}