-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
45 lines (45 loc) · 1.69 KB
/
package.json
File metadata and controls
45 lines (45 loc) · 1.69 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
{
"name": "nectar",
"version": "0.0.1",
"type": "module",
"license": "AGPL-3.0-or-later",
"bin": {
"nectar": "dist/index.js"
},
"scripts": {
"build": "tsc -p .",
"nectar": "tsx src/index.ts",
"typecheck": "tsc --noEmit",
"build": "echo \"(no build step)\"",
"dev": "tsx src/index.ts",
"analyze": "tsx src/index.ts analyze",
"codemod": "tsx src/index.ts codemod --dry",
"measure": "tsx src/index.ts measure",
"test": "vitest run",
"test:watch": "vitest",
"demo:plan": "cd examples/nectar-demo && tsx ../../src/index.ts codemod --fixture manifest/build-manifest.json --sizes manifest/sizes.json",
"demo:diff": "cd examples/nectar-demo && tsx ../../src/index.ts codemod --dry --diff --fixture manifest/build-manifest.json --sizes manifest/sizes.json",
"demo:apply": "cd examples/nectar-demo && tsx ../../src/index.ts codemod --apply --fixture manifest/build-manifest.json --sizes manifest/sizes.json --no-typecheck",
"demo:restore": "cd examples/nectar-demo && tsx ../../src/index.ts restore",
"demo:render": "cd examples/nectar-demo && tsx ../../src/index.ts render --diff .nectar/diff.patch --out .nectar/comment.md",
"site:dev": "pnpm --filter ./apps/site dev",
"site:build": "pnpm --filter ./apps/site build",
"site:start": "pnpm --filter ./apps/site start"
},
"dependencies": {
"globby": "^14.0.2",
"picocolors": "^1.0.0",
"yargs": "^17.7.2"
},
"devDependencies": {
"@types/node": "^20.12.12",
"@types/yargs": "^17.0.33",
"chrome-launcher": "^1.2.1",
"diff": "^8.0.0",
"lighthouse": "^12.8.2",
"nectar": "^5.0.6",
"tsx": "^4.19.0",
"typescript": "^5.6.3",
"vitest": "^2.1.0"
}
}