-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
60 lines (60 loc) · 2.6 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
{
"name": "@neighbourhoods/component-storybook",
"private": true,
"type": "module",
"scripts": {
"preinstall": "npx only-allow pnpm",
"start": "npm run storybook",
"build": "npm run build:design-system && npm run build:dev-utils && npm run build:testing-utils",
"build:design-system": "cd components/design-system && npm run build",
"build:dev-utils": "cd components/dev-util && npm run build",
"build:testing-utils": "cd lib/testing-utils && npm run build",
"test": "npm run test:storybook:ci",
"test:storybook:ci": "concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"npm run build-storybook --quiet && npx http-server storybook-static --port 6006 --silent\" \"wait-on tcp:6006 && npm run test-storybook\"",
"test:storybook:manual": "echo \"Ensure Storybook is running on port 6006 prior to executing this command...\" && npm run test-storybook",
"clean": "npm run clean:build && npm run clean:modules",
"clean:build": "rm tsconfig.tsbuildinfo; rimraf storybook-static; rimraf dist; rimraf components/design-system/dist; rimraf lib/testing-utils/dist; rimraf components/dev-util/dist; exit 0",
"clean:modules": "rimraf node_modules; for DIR in $(find -type d -iname node_modules); do echo \" Remove $DIR\"; rm -Rf \"$DIR\"; done",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"test-storybook": "test-storybook"
},
"devDependencies": {
"@babel/core": "^7.17.2",
"@base2/pretty-print-object": "^1.0.2",
"@mdx-js/react": "^2.3.0",
"@neighbourhoods/design-system-styles": "^0.0.6",
"@storybook/addon-actions": "^7.4.0",
"@storybook/addon-essentials": "^7.4.0",
"@storybook/addon-interactions": "^7.4.0",
"@storybook/addon-links": "^7.4.0",
"@storybook/blocks": "^7.4.0",
"@storybook/builder-vite": "^7.4.0",
"@storybook/manager-api": "^7.6.1",
"@storybook/jest": "^0.2.2",
"@storybook/test-runner": "^0.13.0",
"@storybook/testing-library": "^0.2.0",
"@storybook/web-components": "^7.4.0",
"@storybook/web-components-vite": "^7.4.0",
"@webcomponents/scoped-custom-element-registry": "^0.0.9",
"babel-loader": "^8.2.3",
"concurrently": "^8.2.1",
"http-server": "^14.1.1",
"jest": "^29.6.4",
"react": "^17.0.0",
"react-dom": "^18.2.0",
"rimraf": "^5.0.1",
"shadow-dom-testing-library": "^1.11.0",
"storybook": "^7.4.0",
"tslib": "^2.6.2",
"typescript": "^5.2.2",
"vite": "^4.4.9",
"vite-tsconfig-paths": "^4.2.0",
"wait-on": "^7.0.1"
},
"dependencies": {
"lit": "^2.2.0",
"yup": "^1.3.3"
},
"version": "0.0.2"
}