forked from aragon/ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
127 lines (127 loc) · 3.99 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
118
119
120
121
122
123
124
125
126
127
{
"name": "@aragon/ui",
"version": "1.7.0",
"author": "Aragon Association <legal@aragon.org>",
"license": "MIT",
"repository": "github:aragon/aragon-ui",
"main": "dist/index.js",
"module": "dist/esm/index.js",
"sideEffects": false,
"files": [
"LICENSE",
"README.md",
"bin/",
"dist/"
],
"bin": {
"copy-aragon-ui-assets": "./bin/copy-aragon-ui-assets"
},
"scripts": {
"build": "npm run icons:build && rollup -c",
"build:analyze": "ANALYZE=1 npm run build",
"dev": "npm run icons:build && rollup -c -w",
"deploy:site": "cd gallery && npm run build && echo 'ui.aragon.org' > dist/CNAME && touch dist/.nojekyll && cp public/favicon.svg dist && gh-pages -d dist --dotfiles",
"devbox": "cd devbox && npm start",
"flow": "flow",
"icons:build": "node scripts/generate-icons",
"icons:check": "$(git diff --no-ext-diff --quiet --exit-code ./src/icons) || $(echo '\nError: src/icons has been modified, please commit the changes.\n' && exit 1)",
"jest": "jest",
"lint": "eslint ./src",
"lint:fix": "eslint --fix ./src",
"optimize:svg": "find ./src/components -name *.svg -exec svgo --config '{ \"plugins\": [ { \"removeDesc\": {\"removeAny\": true} }, { \"removeTitle\": true }, { \"removeViewBox\": false } ] }' {} \\;",
"prepare": "rm -rf ./dist && npm run build",
"prepublishOnly": "git push && git push --tags",
"start": "cd gallery && npm start",
"test": "npm run lint && npm run jest"
},
"peerDependencies": {
"react": "^16.3.1",
"react-dom": "^16.3.1",
"styled-components": ">=4.0.0"
},
"devDependencies": {
"@babel/cli": "^7.1.5",
"@babel/plugin-proposal-class-properties": "^7.1.0",
"@babel/plugin-transform-react-jsx": "^7.0.0",
"@babel/plugin-transform-runtime": "^7.2.0",
"@babel/preset-env": "^7.8.7",
"@babel/preset-react": "^7.0.0",
"@rollup/plugin-babel": "^5.1.0",
"@rollup/plugin-commonjs": "^13.0.2",
"@rollup/plugin-node-resolve": "^8.4.0",
"@rollup/plugin-url": "^5.0.1",
"@svgr/core": "^4.1.0",
"@svgr/plugin-prettier": "^4.0.3",
"@testing-library/jest-dom": "^5.1.1",
"@testing-library/react": "^9.5.0",
"babel-eslint": "^10.0.1",
"babel-plugin-styled-components": "^1.10.6",
"eslint": "^7.6.0",
"eslint-config-prettier": "^4.3.0",
"eslint-config-standard": "^12.0.0",
"eslint-config-standard-react": "^7.0.2",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-jest": "^22.5.1",
"eslint-plugin-node": "^9.0.1",
"eslint-plugin-prettier": "^3.0.0",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-react": "^7.4.0",
"eslint-plugin-react-hooks": "^2.0.1",
"eslint-plugin-standard": "^4.0.0",
"fast-glob": "^3.1.1",
"gh-pages": "^2.1.1",
"har-validator": "^5.1.3",
"husky": "^1.1.4",
"jest": "^25.3.0",
"lint-staged": "^8.1.0",
"listr": "^0.14.3",
"prettier": "^1.19.0",
"react": "^16.3.1",
"react-dom": "^16.3.1",
"rollup": "^2.23.0",
"rollup-plugin-analyzer": "^3.3.0",
"rollup-plugin-progress": "^1.1.2",
"styled-components": ">=4.0.0",
"svgo": "^1.2.2"
},
"dependencies": {
"@babel/runtime": "^7.3.1",
"airbnb-prop-types": "^2.9.0",
"arg": "^2.0.0",
"command-exists": "^1.2.6",
"dayjs": "^1.8.14",
"js-sha3": "^0.8.0",
"jsbi": "^3.1.2",
"lodash": "^4.17.19",
"markdown-to-jsx": "^6.11.0",
"popper.js": "^1.14.4",
"prop-types": "^15.6.0",
"react-blockies": "^1.4.0",
"react-display-name": "^0.2.3",
"react-onclickout": "^2.0.8",
"react-spring": "^7.2.11",
"recursive-copy": "^2.0.9",
"token-amount": "^0.1.0",
"use-inside": "^0.2.0",
"use-token": "^0.2.0"
},
"engines": {
"node": ">=12.0.0"
},
"browserslist": {
"development": "> 1%",
"production": "> 1%"
},
"husky": {
"hooks": {
"pre-push": "npm run lint && npm run icons:check",
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/*.js": [
"eslint --fix",
"git add"
]
}
}