Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
148 lines (148 loc) · 5.74 KB
/
Copy pathpackage.json
File metadata and controls
148 lines (148 loc) · 5.74 KB
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
{
"name": "iink-ts",
"version": "5.0.0",
"packageManager": "yarn@4.18.0",
"imports": {
"#iink": "./dist/iink.esm.js"
},
"engines": {
"node": ">=22"
},
"description": "iinkTS is the fastest way to integrate handwriting panel and recognition in your webapp",
"license": "Apache-2.0",
"main": "dist/iink.min.js",
"module": "dist/iink.esm.js",
"type": "module",
"types": "dist/iink.d.ts",
"keywords": [
"myscript",
"javascript",
"typescript",
"developer",
"handwriting",
"recognition",
"cloud",
"iink"
],
"files": [
"dist",
"package.json"
],
"homepage": "https://myscript.github.io/iinkTS/",
"repository": "git://github.com/MyScript/iinkTS.git",
"scripts": {
"postinstall": "husky",
"prepack": "pinst --disable",
"postpack": "pinst --enable",
"typecheck": "node node_modules/typescript7/bin/tsc --noEmit -p tsconfig.typecheck.json",
"typecheck:perf": "node node_modules/typescript7/bin/tsc --noEmit -p perf/tsconfig.json",
"bench": "node perf/headless/bench.ts",
"bench:gate": "node perf/headless/compare.ts",
"bench:ab": "node perf/headless/runPaired.ts",
"bench:ref": "node perf/headless/buildReference.ts",
"bench:record": "node perf/recordHistory.ts",
"bench:history": "node perf/showHistory.ts",
"bench:e2e": "playwright test --config=perf/browser/playwright.config.js",
"lint:src": "eslint src/",
"lint:perf": "eslint perf/",
"lint:tu": "eslint test/unit/",
"lint:te": "eslint --config=./test/examples/eslint.config.mjs ./test/examples",
"lint": "npm-run-all lint:src lint:perf lint:tu lint:te",
"prettier": "prettier --write ./src/**/*.ts ./test/**/*.ts",
"dev": "rollup -c config/rollup.config.dev.mjs -w --sourcemap",
"dev:tldraw": "cd ./examples/custom-rendering/tldraw-websocket-client && yarn dev",
"dev:excalidraw": "cd ./examples/custom-rendering/excalidraw-websocket-client && yarn dev",
"test:unit": "jest --config=test/unit/jest.config.js",
"test:perf": "jest --config=perf/jest.config.js",
"test:scripts": "node --test scripts/*.test.mjs",
"test:unit:coverage": "jest --config=test/unit/jest.config.js --coverage",
"test:examples": "playwright test --config=test/examples/playwright.config.js",
"test:examples:docker": "E2E_STACK=docker playwright test --config=test/examples/playwright.config.js",
"dev:backend": "node docker/dev-backend.mjs",
"copy:to:tldraw": "cp -r dist/ examples/custom-rendering/tldraw-websocket-client/node_modules/iink-ts/",
"install:tldraw": "cd ./examples/custom-rendering/tldraw-websocket-client && yarn install",
"prepare:tldraw": "npm-run-all build:lib copy:to:tldraw",
"build:tldraw": "cd ./examples/custom-rendering/tldraw-websocket-client && yarn build",
"copy:to:excalidraw": "cp -r dist/ examples/custom-rendering/excalidraw-websocket-client/node_modules/iink-ts/",
"install:excalidraw": "cd ./examples/custom-rendering/excalidraw-websocket-client && yarn install",
"prepare:excalidraw": "npm-run-all build:lib copy:to:excalidraw",
"build:excalidraw": "cd ./examples/custom-rendering/excalidraw-websocket-client && yarn build",
"build:lib": "rollup -c config/rollup.config.build.mjs --sourcemap",
"build:docs": "typedoc",
"setup:examples": "npm-run-all install:tldraw install:excalidraw build:lib copy:to:tldraw build:tldraw copy:to:excalidraw build:excalidraw",
"build": "npm-run-all lint typecheck test:unit build:lib build:docs copy:to:tldraw build:tldraw copy:to:excalidraw build:excalidraw"
},
"dependencies": {
"json-css": "^1.5.6"
},
"devDependencies": {
"@commitlint/cli": "^21.2.4",
"@commitlint/config-conventional": "^21.2.4",
"@eslint/eslintrc": "^3.3.6",
"@eslint/js": "^10.0.1",
"@playwright/test": "^1.62.1",
"@rollup/plugin-alias": "^6.0.0",
"@rollup/plugin-commonjs": "^29.0.3",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-swc": "^0.4.1",
"@rollup/plugin-terser": "^1.0.0",
"@swc/core": "^1.16.20",
"@swc/jest": "^0.2.39",
"@types/jest": "^30.0.0",
"@types/jsdom": "^30",
"@typescript-eslint/eslint-plugin": "^8.66.0",
"@typescript-eslint/parser": "^8.66.0",
"dotenv": "^17.4.2",
"eslint": "^10.8.0",
"eslint-config-prettier": "^10.1.8",
"eslint-import-resolver-typescript": "^4.4.5",
"eslint-plugin-import-x": "^4.17.1",
"eslint-plugin-jest": "^29.16.0",
"eslint-plugin-playwright": "^2.11.0",
"eslint-plugin-prettier": "^5.5.6",
"eslint-plugin-simple-import-sort": "^13.0.0",
"globals": "^17.9.0",
"husky": "^9.1.7",
"jest": "^30.4.2",
"jest-canvas-mock": "^2.5.8",
"jest-environment-jsdom": "^30.4.1",
"jest-extended": "^7.0.0",
"jest-fetch-mock": "^3.2.0",
"jest-transform-css": "^6.0.3",
"jest-websocket-mock": "^2.5.0",
"jsdom": "^30.0.1",
"lint-staged": "^17.6.0",
"npm-run-all": "^4.1.5",
"pinst": "^3.0.0",
"postcss": "^8.5.25",
"prettier": "3.9.6",
"rollup": "^4.62.4",
"rollup-plugin-delete": "^3.0.2",
"rollup-plugin-dts": "^6.5.0",
"rollup-plugin-livereload": "^2.0.5",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-serve": "^3.0.0",
"rollup-plugin-svg-import": "^3.0.0",
"rollup-plugin-web-worker-loader": "^1.7.0",
"testcontainers": "^12.2.1",
"tinybench": "^6.1.3",
"tslib": "^2.8.1",
"typedoc": "^0.28.20",
"typedoc-plugin-expand-object-like-types": "^0.1.2",
"typedoc-plugin-inline-sources": "^1.3.0",
"typedoc-plugin-missing-exports": "^4.1.4",
"typescript": "^5.9.3",
"typescript7": "npm:typescript@^7.0.2"
},
"dependenciesMeta": {
"cpu-features": {
"built": false
},
"ssh2": {
"built": false
}
},
"resolutions": {
"js-yaml": "^4.2.0"
}
}