@oaknational/oak-components 0.0.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +53 -0
- package/dist/cjs/index.js +2 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/types.d.ts +1120 -0
- package/package.json +102 -0
package/package.json
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@oaknational/oak-components",
|
|
3
|
+
"version": "0.0.27",
|
|
4
|
+
"licence": "MIT",
|
|
5
|
+
"description": "Shared components for Oak applications",
|
|
6
|
+
"main": "dist/cjs/index.js",
|
|
7
|
+
"module": "dist/esm/index.js",
|
|
8
|
+
"types": "dist/types.d.ts",
|
|
9
|
+
"files": [
|
|
10
|
+
"dist"
|
|
11
|
+
],
|
|
12
|
+
"scripts": {
|
|
13
|
+
"build": "rollup -c --bundleConfigAsCjs",
|
|
14
|
+
"test": "jest --watch --collectCoverage=false",
|
|
15
|
+
"test:snapshot": "jest --collectCoverage=false --updateSnapshot",
|
|
16
|
+
"test:ci": "jest",
|
|
17
|
+
"check-types": "tsc",
|
|
18
|
+
"format": "prettier '**/*.{j,t}{s,sx}' --write",
|
|
19
|
+
"format:precommit": "prettier '**/*.{j,t}{s,sx}' --write",
|
|
20
|
+
"format:check": "prettier '**/*.{j,t}{s,sx}' --check",
|
|
21
|
+
"lint": "eslint src/**/*",
|
|
22
|
+
"lint:precommit": "eslint src/**/* --fix",
|
|
23
|
+
"storybook": "storybook dev -p 6006",
|
|
24
|
+
"build-storybook": "storybook build",
|
|
25
|
+
"prepare": "husky install",
|
|
26
|
+
"prepublishOnly": "./scripts/prepublish.sh",
|
|
27
|
+
"postpublish": "./scripts/postpublish.sh",
|
|
28
|
+
"publish:local": "npm run build && yalc publish --no-scripts"
|
|
29
|
+
},
|
|
30
|
+
"author": "",
|
|
31
|
+
"license": "ISC",
|
|
32
|
+
"peerDependencies": {
|
|
33
|
+
"next": "13.4.4 - 14",
|
|
34
|
+
"react": "^18.2.0",
|
|
35
|
+
"react-dom": "^18.2.0",
|
|
36
|
+
"styled-components": "^5.3.11",
|
|
37
|
+
"next-cloudinary": "^5.20.0"
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"@commitlint/cli": "^18.4.4",
|
|
41
|
+
"@commitlint/config-conventional": "^18.4.4",
|
|
42
|
+
"@rollup/plugin-commonjs": "^25.0.7",
|
|
43
|
+
"@rollup/plugin-json": "^6.1.0",
|
|
44
|
+
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
45
|
+
"@rollup/plugin-terser": "^0.4.4",
|
|
46
|
+
"@rollup/plugin-typescript": "^11.1.5",
|
|
47
|
+
"@storybook/addon-a11y": "^7.6.7",
|
|
48
|
+
"@storybook/addon-essentials": "^7.6.7",
|
|
49
|
+
"@storybook/addon-interactions": "^7.6.7",
|
|
50
|
+
"@storybook/addon-links": "^7.6.7",
|
|
51
|
+
"@storybook/addon-onboarding": "^1.0.10",
|
|
52
|
+
"@storybook/blocks": "^7.6.7",
|
|
53
|
+
"@storybook/nextjs": "^7.6.7",
|
|
54
|
+
"@storybook/react": "^7.6.7",
|
|
55
|
+
"@storybook/testing-library": "^0.2.2",
|
|
56
|
+
"@testing-library/jest-dom": "^6.2.0",
|
|
57
|
+
"@testing-library/react": "^14.1.2",
|
|
58
|
+
"@testing-library/user-event": "^14.5.2",
|
|
59
|
+
"@types/jest": "^29.5.11",
|
|
60
|
+
"@types/react": "^18.2.47",
|
|
61
|
+
"@types/react-test-renderer": "^18.0.7",
|
|
62
|
+
"@types/styled-components": "^5.1.34",
|
|
63
|
+
"@typescript-eslint/eslint-plugin": "^6.18.1",
|
|
64
|
+
"@typescript-eslint/parser": "^6.18.1",
|
|
65
|
+
"eslint": "^8.56.0",
|
|
66
|
+
"eslint-config-prettier": "^9.1.0",
|
|
67
|
+
"eslint-import-resolver-typescript": "^3.6.1",
|
|
68
|
+
"eslint-plugin-import": "^2.29.1",
|
|
69
|
+
"eslint-plugin-mdx": "^2.3.2",
|
|
70
|
+
"eslint-plugin-react": "^7.33.2",
|
|
71
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
72
|
+
"eslint-plugin-storybook": "^0.6.15",
|
|
73
|
+
"husky": "^8.0.3",
|
|
74
|
+
"jest": "^29.7.0",
|
|
75
|
+
"jest-environment-jsdom": "^29.7.0",
|
|
76
|
+
"jest-styled-components": "^7.2.0",
|
|
77
|
+
"next-cloudinary": "^5.20.0",
|
|
78
|
+
"prettier": "^3.1.1",
|
|
79
|
+
"react": "^18.2.0",
|
|
80
|
+
"react-dom": "^18.2.0",
|
|
81
|
+
"react-test-renderer": "^18.2.0",
|
|
82
|
+
"rollup": "^4.9.4",
|
|
83
|
+
"rollup-plugin-dts": "^6.1.0",
|
|
84
|
+
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
85
|
+
"rollup-plugin-typescript-paths": "^1.5.0",
|
|
86
|
+
"storybook": "^7.6.7",
|
|
87
|
+
"storybook-react-context": "^0.6.0",
|
|
88
|
+
"ts-jest": "^29.1.1",
|
|
89
|
+
"typescript": "^5.3.3"
|
|
90
|
+
},
|
|
91
|
+
"directories": {
|
|
92
|
+
"example": "examples"
|
|
93
|
+
},
|
|
94
|
+
"repository": {
|
|
95
|
+
"type": "git",
|
|
96
|
+
"url": "git+https://github.com/oaknational/oak-components.git"
|
|
97
|
+
},
|
|
98
|
+
"bugs": {
|
|
99
|
+
"url": "https://github.com/oaknational/oak-components/issues"
|
|
100
|
+
},
|
|
101
|
+
"homepage": "https://github.com/oaknational/oak-components#readme"
|
|
102
|
+
}
|