-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
64 lines (64 loc) · 2.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
{
"name": "storyreport",
"version": "0.0.1",
"description": "repo with storybook to test jest reporting",
"main": "index.js",
"scripts": {
"clean": "npx rimraf dist docs",
"build": "npm run compile && npm run docs",
"compile": "npm run clean && tsc",
"prepare": "(node -e \"if (! require('fs').existsSync('./dist')) {process.exit(1)} \" || (echo \"Dist does not exist. Attempting Typescript compile\" && tsc && echo \" Made in prepare \" > ./dist/_prepare_gen_ ))",
"docs": "npx rimraf docs && npm run docs:custom-elements && npm run docs:readme && npm run docs:generate && npm run docs:storybook",
"docs:generate": "npm run docs:elements && readme generate",
"docs:custom-elements": "npx cem analyze --litelement --globs src/**",
"docs:storybook": "npx build-storybook --output-dir=docs",
"docs:readme": "npx web-component-analyzer ./src/**/*.{js,ts} --outFiles {dir}/README.md",
"docs:elements": "npx web-component-analyzer ./src/**/*.{js,ts} --outFile LIST.md --features ",
"storybook": "npm run clean && tsc && npm run docs:custom-elements && concurrently -k -r \"tsc --build --watch --preserveWatchOutput\" \"npx start-storybook --no-manager-cache --port=6006\"",
"test:storybook": "concurrently -k -r -s first \"npm run storybook\" \"npx wait-on tcp:6006 && test-storybook --verbose --coverage\"",
"test:jest": "jest --coverage",
"test": "npm run test:storybook & npm run test:jest"
},
"repository": {
"type": "git",
"url": "\t"
},
"author": "Clement Freeman",
"license": "MIT",
"dependencies": {
"lit": "^2.2.8",
"prismjs": "^1.28.0"
},
"customElements": "custom-elements.json",
"devDependencies": {
"@appnest/readme": "^1.2.7",
"@custom-elements-manifest/analyzer": "^0.6.3",
"@etchteam/storybook-addon-css-variables-theme": "^1.2.1",
"@storybook/addon-a11y": "^6.5.9",
"@storybook/addon-actions": "^6.5.9",
"@storybook/addon-coverage": "^0.0.2",
"@storybook/addon-essentials": "^6.5.9",
"@storybook/addon-interactions": "^6.5.9",
"@storybook/addon-links": "^6.5.9",
"@storybook/addon-storysource": "^6.5.9",
"@storybook/jest": "^0.0.10",
"@storybook/test-runner": "^0.5.0",
"@storybook/testing-library": "^0.0.13",
"@storybook/theming": "^6.5.9",
"@storybook/web-components": "^6.5.9",
"@types/jest": "^27.0.0",
"@webcomponents/webcomponentsjs": "^2.6.0",
"concurrently": "^7.2.2",
"jest": "^27.0.0",
"jest-github-actions-reporter": "^1.0.3",
"jest-github-reporter": "^1.0.2",
"jest-playwright-preset": "^1.5.1",
"jest-standard-reporter": "^2.0.0",
"pretty": "^2.0.0",
"rimraf": "^3.0.2",
"ts-jest": "^27.0.0",
"typescript": "^4.7.4",
"wait-on": "^6.0.1",
"web-component-analyzer": "^1.1.6"
}
}