/
package.json
133 lines (133 loc) · 2.94 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
{
"name": "@storybook/csf",
"version": "0.0.2-alpha.0",
"description": "Component Story Format (CSF) utilities",
"keywords": [
"storybook",
"component story format",
"csf",
"stories"
],
"homepage": "https://github.com/ComponentDriven/csf",
"bugs": {
"url": "https://github.com/ComponentDriven/csf/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/ComponentDriven/csf.git"
},
"license": "MIT",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"browser": "./dist/index.mjs",
"node": "./dist/index.js"
}
},
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"files": [
"dist/**/*",
"README.md",
"*.js",
"*.d.ts"
],
"scripts": {
"build": "tsup ./src/index.ts --format esm,cjs --dts --treeshake --minify",
"check": "tsc",
"lint": "eslint src --ext .ts",
"release": "yarn build && auto shipit",
"test": "NODE_NO_WARNINGS=1 NODE_OPTIONS=--experimental-vm-modules jest"
},
"prettier": "@storybook/linter-config/prettier.config",
"eslintConfig": {
"parserOptions": {
"project": [
"./tsconfig.json"
]
},
"settings": {
"import/resolver": {
"typescript": {
"project": [
"./tsconfig.json"
]
}
}
},
"extends": [
"@storybook/eslint-config-storybook"
],
"rules": {
"import/no-unresolved": "error",
"jest/expect-expect": [
"warn",
{
"assertFunctionNames": [
"expect",
"expectTypeOf"
]
}
]
}
},
"jest": {
"extensionsToTreatAsEsm": [
".ts"
],
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.js$": "$1"
},
"preset": "ts-jest/presets/default-esm",
"roots": [
"<rootDir>/src"
],
"testEnvironment": "node",
"transform": {
"^.+\\.tsx?$": [
"ts-jest",
{
"useESM": true
}
]
}
},
"dependencies": {
"type-fest": "^2.19.0"
},
"devDependencies": {
"@auto-it/released": "^11.1.1",
"@ngard/tiny-isequal": "^1.1.0",
"@storybook/eslint-config-storybook": "^3.1.2",
"@types/jest": "^29.2.0",
"@types/node": "^18.11.0",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"auto": "^11.1.1",
"common-tags": "^1.8.0",
"eslint": "^8.27.0",
"eslint-import-resolver-typescript": "^3.5.2",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.1.4",
"expect-type": "^0.14.2",
"jest": "^29.3.1",
"lodash": "^4.17.21",
"@types/lodash": "^4.14.191",
"prettier": "^2.7.1",
"ts-jest": "^29.0.3",
"tsup": "^6.4.0",
"typescript": "^4.8.4"
},
"publishConfig": {
"access": "public"
},
"auto": {
"plugins": [
"npm",
"released"
]
}
}