Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
78 lines (78 loc) · 2.45 KB
/
Copy pathpackage.json
File metadata and controls
78 lines (78 loc) · 2.45 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
{
"name": "@ukhomeoffice/react-components",
"version": "1.6.6",
"description": "React components for Home Office layouts and elements",
"main": "dist/ho-react-components.js",
"module": "dist/ho-react-components.module.js",
"style": "src/index.scss",
"scripts": {
"pretest:unit-built": "npm run build",
"test": "npm run test:unit",
"lint": "eslint . --ext jsx,js",
"test:unit": "npm run test:unit-source && npm run test:unit-built",
"test:unit-built": "jest --config scripts/jest/config.build.mjs",
"test:unit-source": "jest --config scripts/jest/config.source.mjs",
"test:watch": "npm run test:unit-source -- --watch",
"test:update": "npm run test:unit-source -- --updateSnapshot",
"build": "npm run build:js",
"build:js": "rollup -c rollup.config.js",
"prebuild:css": "mkdir -p ./assets",
"prepare": "npm run build",
"audit": "npm audit --audit-level=critical"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ukhomeoffice/react-components.git"
},
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/ukhomeoffice/react-components/issues"
},
"homepage": "https://github.com/ukhomeoffice/react-components#readme",
"dependencies": {
"@babel/runtime": "^7.27.6",
"classnames": "^2.5.1",
"react-markdown": "^6.0.3"
},
"peerDependencies": {
"prop-types": "^15.8.1",
"react": ">= 16.0.0"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/eslint-plugin": "^7.27.1",
"@babel/plugin-transform-runtime": "^7.27.4",
"@babel/preset-env": "^7.27.2",
"@babel/preset-react": "^7.27.1",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^28.0.6",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-replace": "^6.0.2",
"@rollup/plugin-terser": "^0.4.4",
"babel-jest": "^30.0.4",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.8",
"enzyme-to-json": "^3.6.2",
"eslint": "^8.57.1",
"eslint-plugin-react": "^7.37.5",
"jest": "^30.2.0",
"jest-cli": "^30.2.0",
"jest-environment-jsdom": "^30.2.0",
"jest-serializer-html": "^7.1.0",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react-test-renderer": "^16.14.0",
"rollup": "^2.80.0"
},
"files": [
"components/*",
"assets/*",
"src/*",
"index.js"
],
"publishConfig": {
"@ukhomeoffice:registry": "https://npm.pkg.github.com"
}
}