-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
29 lines (29 loc) · 1.18 KB
/
package.json
File metadata and controls
29 lines (29 loc) · 1.18 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
{
"name": "visual-difference",
"version": "1.0.0-beta.2",
"description": "Capture component snapshots for visual regression",
"main": "code.js",
"scripts": {
"start": "npm-run-all build-ui build-plugin-js watch-all",
"build-plugin-js": "npx esbuild src/code.ts --bundle --outfile=dist/code.js",
"watch-plugin-js": "chokidar \"src/code.ts\" \"src/figmaClasses/*.ts\" -c \"npm run build-plugin-js\"",
"build-ui-html": "node build-scripts/build-ui-html.js",
"build-ui-js": "npx esbuild src/ui-scripts.js --bundle --outfile=dist/ui.js",
"build-ui": "npm-run-all build-ui-js build-ui-html",
"package-zip": "node build-scripts/build-dev.js",
"watch-ui": "chokidar \"src/ui.html\" \"src/ui-scripts.js\" \"src/components/*.ts\" \"src/*.ts\" -c \"npm run build-ui\"",
"watch-all": "npm-run-all --parallel watch-ui watch-plugin-js"
},
"author": "Kevin Powell <kevin@eightshapes.com>",
"license": "MIT",
"devDependencies": {
"@figma/plugin-typings": "^1.39.1",
"@types/node": "^16.11.11",
"archiver": "^5.3.0",
"chokidar-cli": "^3.0.0",
"esbuild": "^0.14.1",
"lit": "^2.0.2",
"npm-run-all": "^4.1.5",
"pixelmatch": "^5.2.1"
}
}