-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
73 lines (73 loc) · 2.25 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
{
"name": "y-utility",
"version": "0.1.4",
"description": "Utility features for Yjs",
"sideEffects": false,
"type": "module",
"funding": {
"type": "GitHub Sponsors ❤",
"url": "https://github.com/sponsors/dmonad"
},
"exports": {
"./package.json": "./package.json",
"./y-keyvalue": {
"import": "./y-keyvalue.js",
"require": "./dist/y-keyvalue.cjs",
"types": "./y-keyvalue.d.ts"
},
"./y-multidoc-undomanager": {
"import": "./y-multidoc-undomanager.js",
"require": "./dist/y-multidoc-undomanager.cjs",
"types": "./y-multidoc-undomanager.d.ts"
}
},
"peerDependencies": {
"yjs": "^13.5.29"
},
"dependencies": {
"lib0": "^0.2.43"
},
"devDependencies": {
"@types/node": "^18.15.11",
"c8": "^7.13.0",
"concurrently": "^5.3.0",
"http-server": "^0.12.3",
"rollup": "^2.79.1",
"standard": "^14.3.4",
"typescript": "^5.0.3"
},
"scripts": {
"clean": "rm -rf dist *.d.ts */*.d.ts *.d.ts.map */*.d.ts.map",
"types": "tsc --outDir .",
"dist": "rollup -c",
"debug": "rollup -c && concurrently 'rollup -wc' 'http-server -o test.html'",
"test": "c8 --check-coverage --lines 100 --branches 100 --functions 100 --statements 100 node --unhandled-rejections=strict ./test.js --repetition-time 50 --production",
"test-inspect": "node --inspect-brk --unhandled-rejections=strict ./test.js --repetition-time 50 --production",
"test-extensive": "node test.js && npm test -- --repetition-time 30000 --extensive",
"trace-deopt": "clear && rollup -c && node --trace-deopt dist/test.cjs",
"trace-opt": "clear && rollup -c && node --trace-opt dist/test.cjs",
"lint": "standard && tsc",
"preversion": "npm run clean && npm run test && npm run types && npm run dist && git add README.md",
"postpublish": "npm run clean"
},
"repository": {
"type": "git",
"url": "git+https://github.com/yjs/y-utility.git"
},
"author": "Kevin Jahns <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/yjs/y-utility/issues"
},
"homepage": "https://github.com/yjs/y-utility#readme",
"standard": {
"ignore": [
"/dist",
"/node_modules",
"/docs"
]
},
"engines": {
"node": ">=16"
}
}