-
Notifications
You must be signed in to change notification settings - Fork 15
/
package.json
117 lines (117 loc) · 3.78 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"name": "@mycrypto/ui",
"version": "1.12.1",
"description": "The shared UI component library used across all MyCrypto products.",
"repository": "MyCryptoHQ/ui",
"keywords": [
"react",
"react-component"
],
"author": "MyCrypto",
"license": "MIT",
"main": "lib/cjs/index.js",
"module": "lib/es/index.js",
"types": "typings/src/index.d.ts",
"files": [
"lib",
"typings"
],
"sideEffects": false,
"scripts": {
"clean": "rimraf lib typings",
"build": "yarn run clean && yarn run build:source && yarn run build:declarations",
"build:source": "yarn run build:source:cjs && yarn run build:source:es",
"build:source:cjs": "cross-env NODE_ENV=production BABEL_ENV=cjs babel src --extensions '.ts,.tsx' --source-maps --out-dir lib/cjs --copy-files",
"build:source:es": "cross-env NODE_ENV=production BABEL_ENV=es babel src --extensions '.ts,.tsx' --source-maps --out-dir lib/es --copy-files",
"build:declarations": "tsc -p tsconfig.build.json",
"build:storybook": "build-storybook",
"start": "start-storybook",
"test": "jest",
"lint": "yarn run lint:types && yarn run lint:source && yarn run lint:format",
"lint:types": "tsc --noEmit",
"lint:source": "eslint . --ignore-path .gitignore --ext .ts,.tsx,.js,.jsx,.mdx",
"lint:format": "prettier --check --ignore-path .gitignore \"**/*.{ts,tsx,js,json,yml,mdx}\"",
"format": "prettier --write --ignore-path .gitignore \"**/*.{ts,tsx,js,json,yml,mdx}\"",
"prepare": "simple-git-hooks",
"prepack": "yarn build"
},
"dependencies": {
"@rebass/forms": "4.0.6",
"@types/rebass": "4.0.8",
"core-js": "3.18.2",
"ethereum-blockies-base64": "1.0.2",
"isomorphic-unfetch": "3.1.0",
"react-copy-to-clipboard": "5.0.4",
"react-inlinesvg": "2.3.0",
"react-popper-tooltip": "4.3.1",
"rebass": "4.0.7"
},
"devDependencies": {
"@babel/cli": "7.13.14",
"@babel/core": "7.13.14",
"@babel/preset-env": "7.15.8",
"@babel/preset-react": "7.13.13",
"@babel/preset-typescript": "7.13.0",
"@fontsource/lato": "4.2.2",
"@fontsource/roboto-mono": "4.2.2",
"@storybook/addon-essentials": "6.2.3",
"@storybook/addons": "6.2.3",
"@storybook/builder-webpack5": "6.2.3",
"@storybook/components": "6.2.3",
"@storybook/core-events": "6.2.3",
"@storybook/react": "6.2.3",
"@testing-library/jest-dom": "5.11.10",
"@testing-library/react": "11.2.6",
"@types/jest": "26.0.22",
"@types/react": "17.0.3",
"@types/react-copy-to-clipboard": "5.0.1",
"@types/styled-components": "5.1.9",
"@typescript-eslint/eslint-plugin": "4.18.0",
"@typescript-eslint/parser": "4.18.0",
"babel-jest": "26.6.3",
"babel-loader": "8.2.2",
"cross-env": "7.0.3",
"eslint": "7.22.0",
"eslint-config-prettier": "8.1.0",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-jest": "24.3.2",
"eslint-plugin-mdx": "1.12.0",
"eslint-plugin-react": "7.23.1",
"eslint-plugin-react-hooks": "4.2.0",
"jest": "26.6.3",
"jest-dom": "4.0.0",
"lint-staged": "10.5.4",
"nock": "13.1.3",
"prettier": "2.2.1",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-is": "17.0.2",
"rimraf": "3.0.2",
"simple-git-hooks": "2.3.1",
"storybook-addon-styled-component-theme": "2.0.0",
"styled-components": "5.2.3",
"ts-node": "9.1.1",
"typescript": "4.2.3"
},
"peerDependencies": {
"react": "^17.0.0",
"react-dom": "^17.0.0",
"react-is": "^17.0.0",
"styled-components": "^5.2.3"
},
"simple-git-hooks": {
"pre-commit": "yarn lint-staged",
"pre-push": "yarn test"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,mdx}": [
"eslint --fix"
],
"*.{js,jsx,ts,tsx,json,md,mdx}": [
"prettier --write"
]
},
"publishConfig": {
"access": "public"
}
}