-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathpackage.json
74 lines (74 loc) · 2.04 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
{
"devDependencies": {
"@codemirror/lang-html": "^6.4.8",
"@codemirror/state": "^6.4.1",
"@ddietr/codemirror-themes": "^1.4.2",
"@rollup/plugin-node-resolve": "^15.2.3",
"@types/mocha": "^8.0.3",
"@types/node": "^20.17.10",
"canvas": "^3.1.0",
"chai": "^4.2.0",
"codemirror": "^6.0.1",
"concurrently": "^7.6.0",
"copyfiles": "^2.4.1",
"mitata": "^1.0.21",
"mocha": "^10.0.0",
"peggy": "^2.0.1",
"punycode": "^2.1.1",
"typescript": "^5.7.2"
},
"name": "dropflow",
"version": "0.4.0",
"description": "A small CSS2 document renderer built from specifications",
"type": "module",
"files": [
"assets/images",
"dist/gen",
"dist/dropflow.wasm",
"dist/src"
],
"exports": {
".": {
"buildtime": "./src/api.js",
"default": "./dist/src/api.js"
},
"./with-parse.js": {
"buildtime": "./src/api-with-parse.js",
"default": "./dist/src/api-with-parse.js"
},
"./wasm-locator.js": {
"buildtime": "./src/api-wasm-locator-browser.js",
"browser": "./dist/src/api-wasm-locator-browser.js",
"default": "./dist/src/api-wasm-locator-node.js"
},
"./dropflow.wasm": "./dist/dropflow.wasm"
},
"imports": {
"#wasm-locator": {
"buildtime": "./src/api-wasm-locator-node.js",
"browser": "./dist/src/api-wasm-locator-browser.js",
"default": "./dist/src/api-wasm-locator-node.js"
},
"#backend": {
"buildtime": "./src/backend-node.js",
"browser": "./dist/src/backend-browser.js",
"default": "./dist/src/backend-node.js"
}
},
"scripts": {
"test": "mocha dist/test/ci.js",
"buildcssparser": "peggy --format es src/parse-css.pegjs",
"prebuild": "copyfiles gen.js src/\\*.js assets/\\*\\* test/\\*\\* -e assets/register\\* dist",
"build": "concurrently tsc npm:buildcssparser",
"postbuild": "copyfiles src/parse-css.js dist"
},
"keywords": [
"css2",
"css",
"html",
"browser",
"ua"
],
"author": "Caleb Hearon <[email protected]>",
"license": "MIT"
}