-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
35 lines (35 loc) · 1.35 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
{
"name": "zuite",
"version": "0.1.0",
"description": "A toolkit for building Zoomable User Interfaces",
"type": "module",
"module": "dist/zuite.min.mjs",
"main": "dist/zuite.min.js",
"scripts": {
"build": "npm run build:esm && npm run build:js",
"build:js": "esbuild --format=iife --minify --sourcemap --bundle --outfile=dist/zuite.min.js src/index.mjs",
"build:esm": "esbuild --format=esm --minify --sourcemap --bundle --outfile=dist/zuite.min.mjs src/index.mjs",
"deploy": "esbuild --format=esm --minify --sourcemap --bundle --outfile=examples/zuite.min.mjs src/index.mjs",
"format": "prettier --write './src/**/*.mjs' './test/**/*.mjs'",
"lint": "eslint \"src/**\" \"test/**/*.mjs\"",
"test": "web-test-runner test/**/*.test.mjs --node-resolve",
"preexamples": "npm run build && cp ./dist/zuite.* ./examples",
"examples": "http-server ./examples/",
"prepublishOnly": "npm run format && npm test && npm run build"
},
"devDependencies": {
"@esm-bundle/chai": "^4.3.4-fix.0",
"@web/test-runner": "^0.13.28",
"@web/test-runner-chrome": "^0.10.7",
"chai": "^4.3.6",
"esbuild": "^0.14.39",
"eslint": "^8.16.0",
"eslint-plugin-security": "^1.4.0",
"http-server": "^14.1.0",
"prettier": "^2.6.2"
},
"dependencies": {
"@mathigon/euclid": "^1.1.17",
"html2canvas": "^1.0.0-rc.7"
}
}