-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
66 lines (66 loc) · 2.66 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
{
"name": "@nationalarchives/tdr-components",
"version": "2.0.0",
"description": "This library contains custom components based on the GovUK frontend",
"main": "index.ts",
"scripts": {
"start": "npm run compile:sass-govuk && npm run start:storybook",
"start:storybook": "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": "npm run compile:sass && npm run compile:scripts",
"compile:scripts": "webpack --mode production",
"compile:sass": "sass --style=compressed --load-path=node_modules --embed-sources src/nationalarchives:package/dist",
"compile:sass-govuk": "sass --load-path=node_modules --no-source-map ./src/nationalarchives/govuk.scss ./public/govuk.css",
"lint:fix": "prettier --write '{src,.storybook,tasks,.}/**/*.{ts,scss,json,html}' && stylelint --fix 'src/**/*.scss' && eslint --fix 'src/**/*.{ts,tjs}'",
"test:all": "npm run test:lint && npm run test:unit && npm run test:storybook",
"test:lint": "prettier --check '{src,.storybook,tasks,.}/**/*.{ts,scss,json,html}' && stylelint 'src/**/*.scss' && eslint 'src/**/*.{ts,tjs}'",
"test:unit": "jest",
"test:storybook": "test-storybook"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@babel/preset-typescript": "^7.26.0",
"@chromatic-com/storybook": "^3.2.2",
"@eslint/js": "^9.16.0",
"@storybook/addon-a11y": "^8.4.4",
"@storybook/addon-essentials": "^8.4.4",
"@storybook/addon-interactions": "^8.4.4",
"@storybook/addon-links": "^8.4.4",
"@storybook/addon-webpack5-compiler-babel": "^3.0.3",
"@storybook/blocks": "^8.0.10",
"@storybook/html": "^8.4.4",
"@storybook/html-webpack5": "^8.4.4",
"@storybook/test": "^8.0.10",
"@storybook/test-runner": "^0.19.1",
"@whitespace/storybook-addon-html": "^6.1.1",
"axe-playwright": "^2.0.3",
"babel-jest": "^29.7.0",
"css-loader": "^7.1.2",
"eslint": "^9.16.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"nunjucks": "^3.2.4",
"prettier": "^3.3.3",
"sass": "^1.81.0",
"sass-loader": "^16.0.3",
"simple-nunjucks-loader": "^3.2.0",
"storybook": "^8.0.10",
"style-loader": "^4.0.0",
"stylelint": "^16.10.0",
"stylelint-config-standard-scss": "^13.1.0",
"stylelint-order": "^6.0.4",
"ts-loader": "^9.5.1",
"typescript": "^5.7.2",
"typescript-eslint": "^8.18.0",
"webpack-cli": "^5.1.4",
"yaml-loader": "^0.8.1"
},
"dependencies": {
"govuk-frontend": "^5.7.1"
}
}