-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
94 lines (94 loc) · 2.56 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": "webcomponent-markdown",
"version": "0.2.7",
"description": "Web Component for rendering Markdown, using Remark",
"type": "module",
"source": "src/index.tsx",
"module": "./dist/webcomponent-markdown.js",
"unpkg": "./dist/webcomponent-markdown.umd.js",
"types": "./dist/index.d.ts",
"exports": {
"import": "./dist/webcomponent-markdown.js",
"default": "./dist/webcomponent-markdown.js"
},
"scripts": {
"clean": "rimraf coverage/ dist/ storybook-static/",
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
"build": "npm run clean && microbundle",
"dev": "microbundle watch",
"prepack": "npm run build",
"storybook": "start-storybook -p 6006",
"storybook:build": "build-storybook",
"storybook:serve": "serve storybook-static"
},
"repository": {
"type": "git",
"url": "git+https://github.com/keplersj/wc-markdown.git"
},
"keywords": [
"markdown",
"custom-elements",
"remark",
"unified",
"web-components"
],
"author": "Kepler Sticka-Jones <kepler@stickajones.org>",
"license": "ISC",
"bugs": {
"url": "https://github.com/keplersj/wc-markdown/issues"
},
"homepage": "https://github.com/keplersj/wc-markdown#readme",
"jest": {
"preset": "ts-jest/presets/default-esm",
"globals": {
"ts-jest": {
"useESM": true
}
},
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.js$": "$1",
"@atomico/hooks/(.*)": "<rootDir>/node_modules/@atomico/hooks/src/$1/$1.js"
},
"testEnvironment": "jsdom",
"collectCoverage": true,
"snapshotSerializers": [
"jest-serializer-html"
],
"setupFiles": [
"./setupJest.cjs"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/dist/"
]
},
"devDependencies": {
"@babel/core": "7.26.0",
"@storybook/addon-actions": "6.5.16",
"@storybook/addon-essentials": "6.5.16",
"@storybook/addon-links": "6.5.16",
"@storybook/html": "6.5.16",
"@testing-library/dom": "10.4.0",
"@types/jest": "27.5.2",
"@types/jsdom": "21.1.7",
"babel-loader": "9.2.1",
"jest": "27.5.1",
"jest-fetch-mock": "3.0.3",
"jest-serializer-html": "7.1.0",
"microbundle": "0.15.1",
"node-fetch": "3.3.2",
"rimraf": "6.0.1",
"serve": "14.2.4",
"storybook-builder-vite": "0.1.23",
"ts-jest": "27.1.5",
"ts-node": "10.9.2",
"typescript": "4.9.5",
"vite": "3.0.9"
},
"dependencies": {
"@atomico/hooks": "^3.29.0",
"atomico": "^1.45.1",
"atomico-use-remark": "^1.0.0",
"strip-indent": "^4.0.0"
}
}