forked from storybookjs/mdx2-csf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
94 lines (94 loc) · 3.07 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
{
"name": "@storybook/mdx2-csf",
"version": "0.0.3",
"description": "MDXv2 to CSF webpack compiler and loader",
"repository": {
"type": "git",
"url": "https://github.com/storybookjs/csf-mdx2"
},
"author": "Michael Shilman <[email protected]>",
"license": "MIT",
"main": "compiler.js",
"module": "dist/esm/index.js",
"types": "dist/ts/index.d.ts",
"files": [
"dist/**/*",
"README.md",
"*.js",
"*.d.ts"
],
"scripts": {
"clean": "rimraf ./dist",
"buildBabel": "concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"",
"buildBabel:cjs": "babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"",
"buildBabel:esm": "babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"",
"buildTsc": "tsc --declaration --emitDeclarationOnly --outDir ./dist/ts",
"prebuild": "yarn clean",
"build": "concurrently \"yarn buildBabel\" \"yarn buildTsc\"",
"build:watch": "concurrently \"yarn buildBabel:cjs -- --watch\" \"yarn buildTsc -- --watch\"",
"test": "jest",
"start": "concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"",
"release": "yarn build && auto shipit",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"prettier": "prettier",
"prepare": "husky install"
},
"dependencies": {
"@babel/generator": "^7.12.11",
"@babel/parser": "^7.12.11",
"@mdx-js/mdx": "^2.0.0",
"estree-to-babel": "^4.9.0",
"hast-util-to-estree": "^2.0.2",
"js-string-escape": "^1.0.1",
"loader-utils": "^2.0.0",
"lodash": "^4.17.21"
},
"devDependencies": {
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"@babel/preset-env": "^7.12.1",
"@babel/preset-react": "^7.12.5",
"@babel/preset-typescript": "^7.13.0",
"@babel/template": "^7.14.5",
"@babel/types": "^7.14.8",
"@jest/types": "^27.0.6",
"@storybook/addon-actions": "^6.5.0-alpha.36",
"@storybook/addon-essentials": "^6.5.0-alpha.36",
"@storybook/addon-interactions": "^6.5.0-alpha.36",
"@storybook/addon-links": "^6.5.0-alpha.36",
"@storybook/builder-webpack5": "^6.5.0-alpha.36",
"@storybook/manager-webpack5": "^6.5.0-alpha.36",
"@storybook/react": "^6.5.0-alpha.36",
"@storybook/testing-library": "^0.0.9",
"@testing-library/dom": "^8.1.0",
"@testing-library/react": "^12.0.0",
"@testing-library/user-event": "^13.2.1",
"@types/jest": "^27.0.3",
"@types/js-string-escape": "^1.0.1",
"@types/lodash": "^4.14.167",
"@types/node": "^16.4.1",
"auto": "^10.3.0",
"babel-jest": "^27.0.6",
"babel-loader": "^8.1.0",
"concurrently": "^7.0.0",
"husky": ">=6",
"jest": "^27.0.6",
"jest-environment-jsdom": "^27.0.6",
"lint-staged": ">=10",
"prettier": "^2.3.1",
"prompts": "^2.4.2",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"rimraf": "^3.0.2",
"ts-dedent": "^2.2.0",
"ts-jest": "^27.0.4",
"typescript": "^4.2.4"
},
"lint-staged": {
"*.{ts,js,css,md}": "prettier --write"
},
"publishConfig": {
"access": "public"
}
}