forked from yorkie-team/yorkie-js-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
99 lines (99 loc) · 3.7 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
{
"name": "yorkie-js-sdk",
"version": "0.4.8",
"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",
"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",
"build:docs": "npm run predoc && api-documenter markdown --input temp --output docs",
"build:examples": "npm run build --workspaces",
"build:ghpages": "mkdir -p ghpages/examples && cp -r docs ghpages/api-reference && find examples -name 'dist' -type d -exec sh -c 'cp -r {} ghpages/examples/$(basename $(dirname {}))' \\;",
"api-report": "api-extractor run --local --verbose --config ./config/api-extractor.json",
"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",
"dev": "webpack serve --config config/webpack.dev.config.js",
"test": "vitest run",
"test:ci": "vitest run --coverage",
"test:yorkie.dev": "TEST_RPC_ADDR=https://api.yorkie.dev vitest run --coverage",
"test:watch": "vitest",
"lint": "eslint . --fix --max-warnings=0 --ext .ts",
"prepare": "ts-patch install && npm run build",
"benchmark": "ts-node-script ./test/bench",
"publish:prepare": "mkdir -p bundle && cp -r dist package.json README.md LICENSE CHANGELOG.md bundle && cp package.publish.json bundle/package.json",
"profile:bundle": "webpack --config ./config/webpack.dev.config.js --profile"
},
"engines": {
"node": ">=18.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/google-protobuf": "^3.15.5",
"@types/jsdom": "^21.1.3",
"@types/long": "^4.0.1",
"@types/yargs": "^17.0.0",
"@typescript-eslint/eslint-plugin": "^5.30.6",
"@typescript-eslint/parser": "^5.30.6",
"@vitest/coverage-istanbul": "^0.34.5",
"@vitest/coverage-v8": "^0.34.5",
"@webpack-cli/serve": "^1.6.0",
"benchmark": "^2.1.4",
"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": "^8.0.3",
"istanbul-instrumenter-loader": "^2.0.0",
"jsdom": "^22.1.0",
"node-polyfill-webpack-plugin": "^1.1.4",
"prettier": "^2.7.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",
"vite": "^4.4.9",
"vite-tsconfig-paths": "^4.2.1",
"vitest": "^0.34.5",
"vitest-environment-custom-jsdom": "file:test/vitest/env",
"webpack": "^5.88.2",
"webpack-bundle-analyzer": "^4.7.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.3.1",
"yargs": "^17.0.1"
},
"dependencies": {
"google-protobuf": "^3.19.4",
"grpc-web": "^1.3.1",
"long": "^5.2.0"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint"
}
},
"workspaces": [
"examples/*"
]
}