-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
88 lines (88 loc) · 3.37 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
{
"name": "@nationalarchives/frontend",
"version": "0.2.18",
"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",
"compile:sass": "sass --style=compressed --embed-sources src/nationalarchives:package/nationalarchives",
"compile:scripts": "webpack",
"lint:fix": "prettier --write '{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:html && npm run test:fixtures && npm run test:storybook && npm run build:package && npm run test:package",
"test:fixtures": "node tasks/test-fixtures.js",
"test:html": "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": "test-storybook",
"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": "[email protected]",
"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",
"devDependencies": {
"@babel/core": "^7.25.8",
"@babel/preset-env": "^7.25.8",
"@mdx-js/react": "^3.0.1",
"@storybook/addon-a11y": "^8.3.5",
"@storybook/addon-docs": "^8.3.5",
"@storybook/addon-essentials": "^8.3.5",
"@storybook/addon-interactions": "^8.3.5",
"@storybook/addon-links": "^8.3.5",
"@storybook/addon-mdx-gfm": "^8.3.5",
"@storybook/html": "^8.3.5",
"@storybook/html-webpack5": "^8.3.5",
"@storybook/test": "^8.3.5",
"@storybook/test-runner": "^0.19.1",
"axe-playwright": "^2.0.3",
"babel-jest": "^29.7.0",
"babel-loader": "^9.2.1",
"chromatic": "^11.12.5",
"copy-webpack-plugin": "^12.0.2",
"css-loader": "^7.1.2",
"diff": "^7.0.0",
"eslint": "^8.57.1",
"eslint-plugin-storybook": "^0.9.0",
"glob": "^11.0.0",
"html-validate": "^8.24.1",
"jest-environment-jsdom": "^29.7.0",
"mdx-mermaid": "^2.0.1",
"node-self": "^1.0.2",
"nunjucks": "^3.2.4",
"prettier": "^3.3.3",
"sass": "^1.79.5",
"sass-loader": "^16.0.2",
"simple-nunjucks-loader": "^3.2.0",
"storybook": "^8.3.5",
"style-loader": "^4.0.0",
"stylelint": "^16.10.0",
"stylelint-config-standard-scss": "^13.1.0",
"stylelint-order": "^6.0.4",
"stylelint-selector-bem-pattern": "^4.0.1",
"webpack": "^5.95.0",
"webpack-cli": "^5.1.4"
}
}