forked from lost-pixel/lost-pixel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
137 lines (137 loc) · 4.76 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
{
"name": "lost-pixel",
"version": "3.16.0",
"description": "GitHub Action for Lost Pixel integration",
"main": "dist/",
"bin": "dist/bin.js",
"files": [
"dist",
"config-templates"
],
"scripts": {
"test": "jest --detectOpenHandles",
"test:watch": "jest --watch --detectOpenHandles",
"build": "rimraf dist && tsc",
"build-example-storybook-v6.4": "rimraf examples/example-storybook-v6.4/storybook-static && docker run --rm -v $PWD/examples/example-storybook-v6.4:/storybook -w /storybook node:16-alpine sh -c 'npm install && npm run build-storybook'",
"build-example-storybook-v6.5-storystore-v7": "rimraf examples/example-storybook-v6.5-storystore-v7/storybook-static && docker run --rm -v $PWD/examples/example-storybook-v6.5-storystore-v7:/storybook -w /storybook node:16-alpine sh -c 'npm install && npm run build-storybook'",
"build-example-storybook-v8": "rimraf examples/example-storybook-v8/storybook-static && docker run --rm -v $PWD/examples/example-storybook-v8:/storybook -w /storybook node:16-alpine sh -c 'npm install && npm run build-storybook'",
"build-example-next-js-pages": "cd examples/example-next-js-pages && npm ci --legacy-peer-deps && npm run build",
"build-example-ladle": "cd examples/example-ladle && npm ci && npm run build",
"build-example-vite": "cd examples/example-vite-app && npm ci && npm run build",
"build-example-histoire": "cd examples/example-swyxkit && npm ci --legacy-peer-deps && npm run story:build",
"run-example-next-js-pages": "cd examples/example-next-js-pages && npm run start",
"run-example-vite": "cd examples/example-vite-app && npm run preview",
"test-on-examples": "./test-on-examples.sh",
"unused-exports": "ts-prune --error --ignore 'src/index.ts'",
"lint": "xo && tsc --noEmit && eslint '*/**/*.ts' && npm run unused-exports",
"lint-fix": "tsc --noEmit && eslint '*/**/*.ts' --fix && xo --fix",
"lint-staged": "lint-staged",
"prepare": "husky install",
"release": "np --no-publish",
"version": "./update-versions.sh",
"dev": "ts-node src/bin",
"start": "NODE_ENV=production node dist/bin.js"
},
"engines": {
"node": ">=18"
},
"lint-staged": {
"*.{js,ts}": [
"./node_modules/eslint/bin/eslint.js"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/lost-pixel/lost-pixel.git"
},
"keywords": [],
"author": "Chris Kalmar",
"license": "MIT",
"bugs": {
"url": "https://github.com/lost-pixel/lost-pixel/issues"
},
"homepage": "https://github.com/lost-pixel/lost-pixel#readme",
"dependencies": {
"@types/xml2js": "^0.4.14",
"async": "3.2.5",
"axios": "1.6.5",
"bundle-require": "4.0.2",
"esbuild": "0.19.11",
"execa": "5.1.1",
"form-data": "4.0.0",
"fs-extra": "11.2.0",
"get-port-please": "3.1.2",
"lodash.get": "4.4.2",
"lodash.kebabcase": "4.1.1",
"odiff-bin": "2.6.1",
"pixelmatch": "5.3.0",
"playwright-core": "1.40.1",
"pngjs": "7.0.0",
"posthog-node": "3.5.0",
"serve-handler": "6.1.5",
"shelljs": "0.8.5",
"ts-node": "10.9.2",
"uuid": "9.0.1",
"xml2js": "^0.6.2",
"yargs": "17.7.2",
"zod": "3.22.4"
},
"devDependencies": {
"@playwright/test": "1.40.1",
"@types/async": "3.2.24",
"@types/fs-extra": "11.0.4",
"@types/jest": "29.5.11",
"@types/lodash.get": "4.4.9",
"@types/lodash.kebabcase": "4.1.9",
"@types/pixelmatch": "5.2.6",
"@types/pngjs": "6.0.4",
"@types/serve-handler": "6.1.4",
"@types/shelljs": "0.8.15",
"@types/uuid": "9.0.7",
"@typescript-eslint/eslint-plugin": "6.18.1",
"@typescript-eslint/parser": "6.18.1",
"eslint": "8.56.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-unicorn": "50.0.1",
"husky": "8.0.3",
"jest": "29.7.0",
"lint-staged": "15.2.0",
"prettier": "3.2.2",
"rimraf": "5.0.5",
"ts-jest": "29.1.1",
"ts-prune": "0.10.3",
"typescript": "5.3.3",
"xo": "0.56.0"
},
"peerDependencies": {
"playwright-core": ">=1.37.0"
},
"xo": {
"prettier": true,
"rules": {
"@typescript-eslint/object-curly-spacing": "off",
"complexity": [
"error",
30
],
"import/extensions": "off",
"unicorn/filename-case": "off",
"unicorn/no-process-exit": "off",
"node/prefer-global/process": "off",
"@typescript-eslint/naming-convention": "off",
"unicorn/prefer-module": "off",
"import/no-mutable-exports": "off",
"@typescript-eslint/ban-ts-comment": "off",
"n/prefer-global/process": "off",
"n/file-extension-in-import": "off",
"no-lone-blocks": "off",
"capitalized-comments": "off",
"unicorn/prefer-ternary": "off"
}
}
}