/
package.json
125 lines (125 loc) · 2.78 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
{
"name": "storycap",
"version": "4.3.1",
"description": "A Storybook addon, Save the screenshot image of your stories! via puppeteer.",
"engines": {
"node": ">=18"
},
"main": "lib/index.js",
"module": "lib-esm/index.js",
"exports": {
".": {
"require": "./lib/index.js",
"browser": "./lib-esm/index.js",
"import": "./lib-esm/index.js",
"default": "./lib/index.js"
},
"./register": "./register.js"
},
"sideEffects": [
"./register.js",
"./lib/client/register.js",
"./lib-esm/client/register.js"
],
"typings": "lib/index.d.ts",
"bin": {
"storycap": "lib/node/cli.js"
},
"scripts": {
"clean": "rimraf -g lib lib-esm \"*.tsbuildinfo\"",
"build": "yarn build:cjs && yarn build:esm",
"build:cjs": "tsc --p tsconfig.build.cjs.json",
"build:esm": "tsc --p tsconfig.build.esm.json",
"prepare": "yarn clean && yarn build",
"test": "jest",
"typedoc": "typedoc --out \"../../dist-pages/typedoc/storycap\" --ignoreCompilerErrors --tsconfig tsconfig.build.json src"
},
"repository": {
"type": "git",
"url": "git+https://github.com/reg-viz/storycap.git"
},
"author": "tsuyoshiwada",
"contributors": [
"Yosuke Kurami"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/reg-viz/storycap/issues"
},
"homepage": "https://github.com/reg-viz/storycap#readme",
"files": [
"lib",
"lib-esm",
"assets",
"CONTRIBUTING.md",
"MIGRATION.md",
"README.md",
"LICENSE",
"package.json",
"register.js"
],
"keywords": [
"storybook",
"addon",
"puppeteer",
"chrome",
"screenshot",
"capture",
"visual-testing",
"storybook-addon",
"testing",
"test"
],
"devDependencies": {
"@types/jest": "29.5.12",
"jest": "29.7.0",
"minimist": "1.2.8",
"puppeteer": "19.11.1",
"ts-jest": "29.1.2",
"typedoc": "0.25.11",
"typescript": "5.4.2"
},
"dependencies": {
"@types/mkdirp": "^1.0.0",
"@types/node": "^18.0.0",
"@types/rimraf": "^3.0.0",
"@types/wait-on": "^5.0.0",
"@types/yargs": "^16.0.0",
"mkdirp": "^2.0.0",
"nanomatch": "^1.2.13",
"puppeteer-core": "^9.0.0",
"rimraf": "^5.0.0",
"sanitize-filename": "^1.6.3",
"storycrawler": "^4.3.1",
"yargs": "^16.0.0"
},
"jest": {
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"transform": {
"^.+\\.tsx?$": [
"ts-jest",
{
"diagnostics": false
}
]
},
"testMatch": [
"**/__tests__/*.(ts|tsx)",
"**/*.test.(ts|tsx)"
],
"testPathIgnorePatterns": [
"/node_modules/",
"_old/.*",
"examples/.*",
"\\.d\\.ts$",
"lib/.*"
],
"testEnvironmentOptions": {
"url": "http://localhost"
}
}
}