-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
93 lines (93 loc) · 3.1 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
{
"name": "smg-web-design-system",
"version": "0.11.4",
"description": "Science Museum Group: Web Design System > N.B W.I.P - not ready for use yet!",
"main": "dist/js/index.js",
"style": "src/scss/main.scss",
"repository": {
"type": "git",
"url": "git+https://github.com/TheScienceMuseum/web-design-system.git"
},
"keywords": [],
"author": "[email protected]",
"license": "MIT",
"bugs": {
"url": "https://github.com/TheScienceMuseum/web-design-system/issues"
},
"homepage": "https://github.com/TheScienceMuseum/web-design-system#readme",
"dependencies": {
"include-media": "^2.0.0",
"normalize-scss": "^8.0.0",
"plyr": "^3.7.8",
"unitconversion": "^2.1.13"
},
"scripts": {
"start": "npm run watch",
"prepublish": "npm run build",
"deploy": "./deploy-to-gh-pages.sh",
"build": "run-p build:*",
"build:storybook": "storybook build --config-dir storybook --output-dir dist",
"build:js": "NODE_ENV=production webpack",
"build:svg": "run-p build:svg:*",
"build:svg:sprite": "svg-sprite --symbol --symbol-dest=. --symbol-sprite=sprite.symbol.svg --dest=public/assets/logos src/assets/logos/**/*.svg",
"build:svg:spriteicons": "svg-sprite --symbol --symbol-dest=. --symbol-sprite=sprite.symbol.svg --dest=public/assets/icons src/assets/icons/**/*.svg",
"build:svg:logos": "svgo -f src/assets/logos -o public/assets/logos",
"build:svg:icons": "svgo -f src/assets/icons -o public/assets/icons",
"build:favicons": "cp -R src/assets/favicons public/assets/",
"watch": "run-p watch:*",
"watch:storybook": "storybook dev --port 6009 --config-dir storybook --no-open",
"watch:svg": "onchange 'src/assets/**/*.svg' -- npm run build:svg",
"stats": "webpack --json > stats.json"
},
"devDependencies": {
"@babel/core": "^7.24.7",
"@babel/preset-env": "^7.24.7",
"@storybook/addon-essentials": "^8.1.11",
"@storybook/addon-interactions": "^8.1.11",
"@storybook/addon-links": "^8.1.11",
"@storybook/addon-mdx-gfm": "^8.1.11",
"@storybook/addon-styling-webpack": "^1.0.0",
"@storybook/addon-webpack5-compiler-swc": "^1.0.4",
"@storybook/blocks": "^8.1.11",
"@storybook/html": "^8.1.11",
"@storybook/html-webpack5": "^8.1.11",
"@storybook/test": "^8.1.11",
"autoprefixer": "^10.4.19",
"babel-loader": "^9.1.3",
"colorable": "^1.0.5",
"core-js": "^3.34.0",
"css-loader": "^6.11.0",
"cssnano": "^6.1.2",
"file-loader": "^6.2.0",
"handlebars-loader": "^1.7.3",
"mini-css-extract-plugin": "^2.9.0",
"npm-run-all": "^4.1.5",
"onchange": "^7.1.0",
"postcss": "^8.4.38",
"postcss-cli": "^11.0.0",
"postcss-loader": "^3.0.0",
"sass": "^1.77.4",
"sass-loader": "^14.2.1",
"sassdoc": "^2.7.4",
"storybook": "^8.1.11",
"style-loader": "^3.3.4",
"svg-sprite": "^2.0.4",
"svgo": "^3.3.2",
"webpack": "^5.91.0",
"webpack-cli": "^5.1.4"
},
"jshintConfig": {
"esversion": 6
},
"browserslist": [
"last 2 versions",
"> 1%",
"safari >= 7"
],
"files": [
"src",
"dist/assets",
"dist/js",
"dist/css"
]
}