@uob-web-and-digital/component-library 0.0.1

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.
Files changed (2) hide show
  1. package/README.md +0 -0
  2. package/package.json +95 -0
package/README.md ADDED
File without changes
package/package.json ADDED
@@ -0,0 +1,95 @@
1
+ {
2
+ "name": "@uob-web-and-digital/component-library",
3
+ "version": "0.0.1",
4
+ "description": "A component library using React and Storybook.",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/uob-itservices/component-library.git"
8
+ },
9
+ "bugs": {
10
+ "url": "https://github.com/uob-itservices/component-library/issues"
11
+ },
12
+ "homepage": "https://github.com/uob-itservices/component-library#readme",
13
+ "author": "University of Birmingham",
14
+ "source": "src/index.ts",
15
+ "main": "dist/main.js",
16
+ "module": "dist/module.js",
17
+ "types": "dist/types.d.ts",
18
+ "files": [
19
+ "dist"
20
+ ],
21
+ "license": "",
22
+ "devDependencies": {
23
+ "@babel/preset-env": "^7.22.20",
24
+ "@babel/preset-react": "^7.22.15",
25
+ "@babel/preset-typescript": "^7.23.0",
26
+ "@commitlint/cli": "^17.7.1",
27
+ "@commitlint/config-conventional": "^17.7.0",
28
+ "@storybook/addon-a11y": "^7.4.6",
29
+ "@storybook/addon-essentials": "^7.4.6",
30
+ "@storybook/addon-interactions": "^7.4.6",
31
+ "@storybook/addon-links": "^7.4.6",
32
+ "@storybook/addon-onboarding": "^1.0.8",
33
+ "@storybook/addon-styling-webpack": "^0.0.4",
34
+ "@storybook/blocks": "^7.4.6",
35
+ "@storybook/react": "^7.4.6",
36
+ "@storybook/react-webpack5": "^7.4.6",
37
+ "@types/react": "^16.8.0",
38
+ "@types/sanitize-html": "^2.9.1",
39
+ "autoprefixer": "^10.4.16",
40
+ "eslint": "^8.50.0",
41
+ "eslint-config-airbnb": "^19.0.4",
42
+ "eslint-config-airbnb-typescript": "^17.1.0",
43
+ "eslint-plugin-prettier": "^5.0.0",
44
+ "eslint-plugin-react": "^7.33.2",
45
+ "eslint-plugin-storybook": "^0.6.14",
46
+ "file-loader": "^6.2.0",
47
+ "husky": "^8.0.0",
48
+ "lint-staged": "^14.0.1",
49
+ "postcss": "^8.4.31",
50
+ "postcss-loader": "^7.3.3",
51
+ "resolve-url-loader": "^5.0.0",
52
+ "sass": "^1.68.0",
53
+ "sass-loader": "^13.3.2",
54
+ "storybook": "^7.4.6",
55
+ "storybook-addon-performance": "^0.17.1",
56
+ "style-loader": "^3.3.3",
57
+ "stylelint": "^15.11.0",
58
+ "stylelint-config-idiomatic-order": "^9.0.0",
59
+ "stylelint-config-prettier-scss": "^1.0.0",
60
+ "stylelint-config-recommended": "^13.0.0",
61
+ "stylelint-config-recommended-scss": "^13.0.0",
62
+ "stylelint-config-sass-guidelines": "^10.0.0",
63
+ "stylelint-config-standard": "^34.0.0",
64
+ "stylelint-config-standard-scss": "^11.0.0",
65
+ "typescript": "^5.2.2"
66
+ },
67
+ "dependencies": {
68
+ "@storybook/testing-library": "^0.2.2",
69
+ "clsx": "^2.0.0",
70
+ "focus-trap-react": "^10.2.2",
71
+ "framer-motion": "^10.16.4",
72
+ "react": "^18.2.0",
73
+ "react-dom": "^18.2.0",
74
+ "sanitize-html": "^2.11.0"
75
+ },
76
+ "scripts": {
77
+ "storybook": "storybook dev -p 6006",
78
+ "build-storybook": "storybook build",
79
+ "lint": "eslint \"./src/**/*.{js,jsx,ts,tsx}\" --max-warnings 0",
80
+ "lint-css": "stylelint --allow-empty-input '**/*.{css,scss}'",
81
+ "pretty": "prettier --write './**/*.{ts,tsx,scss,css,json,md,mdx}'",
82
+ "prepare": "husky install",
83
+ "pre-commit": "lint-staged"
84
+ },
85
+ "lint-staged": {
86
+ "src/**/*.{js,jsx,ts,tsx}": [
87
+ "npm run pretty",
88
+ "npm run lint"
89
+ ],
90
+ "src/**/*.{css,scss}": [
91
+ "npm run pretty",
92
+ "npm run lint-css"
93
+ ]
94
+ }
95
+ }