This repository has been archived by the owner on Jan 25, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
54 lines (54 loc) · 1.94 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
{
"name": "@tlon/indigo-react",
"version": "1.2.27",
"description": "React implementation of Tlon's design system, Indigo",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"tsc": "tsc",
"esbuild": "esbuild src/index.tsx --bundle --external:react --external:react-is --external:react-dom --external:styled-system --external:styled-components --external:@styled-system/css --external:formik --outdir=dist --format=esm --splitting --sourcemap",
"esbuild:prod": "esbuild src/index.tsx --bundle --external:react --external:react-is --external:react-dom --external:styled-system --external:styled-components --external:@styled-system/css --external:formik --outdir=dist --format=esm --splitting --sourcemap",
"clear": "rm -rf dist",
"reset": "rm -rf node_modules package-lock.json && npm install",
"build": "npm run tsc && npm run esbuild",
"build:prod": "npm run tsc && npm run esbuild:prod",
"format": "prettier --write ./src/*",
"prepare": "npm run build"
},
"author": "Gavin Atkinson",
"license": "MIT",
"dependencies": {
"tslib": "^2.0.1"
},
"peerDependencies": {
"styled-components": "^5.1.1",
"styled-system": "^5.1.5",
"formik": "^2.1.5",
"@reach/menu-button": "^0.17.0",
"react": "^16.8 || ^17",
"react-dom": "^16.8 || ^17"
},
"devDependencies": {
"@styled-system/css": "^5.1.5",
"@tlon/indigo-light": "^1.0.3",
"@types/react": "^16.9.46",
"@types/styled-components": "^5.1.7",
"@types/styled-system": "^5.1.10",
"@types/styled-system__css": "^5.0.14",
"esbuild": "^0.6.28",
"formik": "^2.1.5",
"husky": "^4.2.5",
"prettier": "^2.0.5",
"pretty-quick": "^2.0.1",
"react-dom": "^16.13.1",
"styled-components": "^5.2.1",
"styled-system": "^5.1.5",
"typescript": "^4.2.4"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
}
}