-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
93 lines (93 loc) · 3.65 KB
/
Copy pathpackage.json
File metadata and controls
93 lines (93 loc) · 3.65 KB
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": "@nationalarchives/frontend",
"version": "0.44.0",
"description": "The National Archives frontend styles",
"scripts": {
"start": "storybook dev -p 6006",
"build:storybook": "storybook build -o storybook --webpack-stats-json",
"build:storybook:tests": "storybook build -o storybook --webpack-stats-json --test",
"build:package": "./tasks/build-package.sh",
"build:errorpages": "npm run compile:sass && npm run compile:scripts && node tasks/static-error-pages/generate.js",
"compile:sass": "sass --style=compressed --load-path=node_modules --embed-sources src/nationalarchives:package/nationalarchives",
"compile:scripts": "webpack",
"lint:fix": "prettier --write --list-different '{src,.storybook,tasks,.}/**/*.{js,mjs,scss,json,html}' && stylelint --fix 'src/**/*.scss' && eslint --fix 'src/**/*.{js,mjs}'",
"test:all": "npm run test:lint && npm run test:unit && npm run test:statichtml && npm run test:fixtures && npm run test:storybook && npm run build:package && npm run test:package",
"test:fixtures": "node tasks/test-fixtures.js",
"test:statichtml": "node tasks/generate-fixture-html.js && html-validate fixtures-html",
"test:lint": "prettier --check '{src,.storybook,tasks,.}/**/*.{js,mjs,scss,json,html}' && stylelint 'src/**/*.scss' && eslint 'src/**/*.{js,mjs}'",
"test:package": "node tasks/test-package.js",
"test:storybook": "vitest run",
"test:unit": "jest --verbose",
"update:fixtures": "node tasks/update-fixtures.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nationalarchives/tna-frontend.git"
},
"author": {
"name": "Andrew Hosgood",
"email": "andrew.hosgood@nationalarchives.gov.uk",
"url": "https://andrewhosgood.dev"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/nationalarchives/tna-frontend/issues"
},
"main": "nationalarchives/all.js",
"exports": {
".": {
"css": "./nationalarchives/all.css",
"require": "./nationalarchives/all.js",
"sass": "./nationalarchives/all.scss"
},
"./nationalarchives/": "./nationalarchives/"
},
"sass": "nationalarchives/all.scss",
"homepage": "https://github.com/nationalarchives/tna-frontend#readme",
"dependencies": {
"@fortawesome/fontawesome-free": "^7.2.0"
},
"devDependencies": {
"@babel/core": "^8.0.0",
"@babel/preset-env": "^8.0.0",
"@mdx-js/react": "^3.0.1",
"@nationalarchives/stylelint-config": "^0.1.1",
"@nationalarchives/eslint-config": "^0.1.4",
"@storybook/addon-a11y": "^10.4.0",
"@storybook/addon-docs": "^10.4.0",
"@storybook/addon-links": "^10.4.0",
"@storybook/addon-styling-webpack": "^3.0.0",
"@storybook/addon-vitest": "^10.4.0",
"@storybook/html-vite": "^10.4.0",
"@storybook/web-components-vite": "^10.4.0",
"@vitest/browser-playwright": "^4.0.6",
"@vitest/coverage-v8": "^4.0.6",
"axe-playwright": "^2.0.3",
"babel-jest": "^30.1.1",
"babel-loader": "^10.0.0",
"chromatic": "^17.0.0",
"copy-webpack-plugin": "^14.0.0",
"css-loader": "^7.1.2",
"diff": "^9.0.0",
"eslint-plugin-storybook": "^10.4.0",
"glob": "^13.0.0",
"html-validate": "^11.0.0",
"jest": "^30.2.0",
"jest-environment-jsdom": "^30.1.1",
"node-self": "^1.0.2",
"nunjucks": "^3.2.4",
"playwright": "^1.56.1",
"prettier": "^3.3.3",
"prismjs": "^1.30.0",
"sass": "^1.79.5",
"sass-embedded": "^1.91.0",
"sass-loader": "^17.0.0",
"simple-nunjucks-loader": "^3.2.0",
"storybook": "^10.4.0",
"style-loader": "^4.0.0",
"vite-plugin-static-copy": "^4.0.0",
"vitest": "^4.0.6",
"webpack": "^5.95.0",
"webpack-cli": "^7.0.0"
}
}