1 | {
|
2 | "name": "@aragon/ui",
|
3 | "version": "1.5.0",
|
4 | "author": "Aragon Association <legal@aragon.org>",
|
5 | "license": "MIT",
|
6 | "repository": "github:aragon/aragon-ui",
|
7 | "main": "dist/index.js",
|
8 | "module": "dist/esm/index.js",
|
9 | "sideEffects": false,
|
10 | "files": [
|
11 | "LICENSE",
|
12 | "README.md",
|
13 | "bin/",
|
14 | "dist/"
|
15 | ],
|
16 | "bin": {
|
17 | "copy-aragon-ui-assets": "./bin/copy-aragon-ui-assets"
|
18 | },
|
19 | "scripts": {
|
20 | "build": "npm run icons:build && rollup -c",
|
21 | "build:analyze": "ANALYZE=1 npm run build",
|
22 | "dev": "npm run icons:build && rollup -c -w",
|
23 | "deploy:site": "cd gallery && npm run build && echo 'ui.aragon.org' > dist/CNAME && cp public/favicon.svg dist && gh-pages -d dist",
|
24 | "devbox": "cd devbox && npm start",
|
25 | "flow": "flow",
|
26 | "icons:build": "node scripts/generate-icons",
|
27 | "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)",
|
28 | "jest": "jest",
|
29 | "lint": "eslint ./src",
|
30 | "lint:fix": "eslint --fix ./src",
|
31 | "optimize:svg": "find ./src/components -name *.svg -exec svgo --config '{ \"plugins\": [ { \"removeDesc\": {\"removeAny\": true} }, { \"removeTitle\": true }, { \"removeViewBox\": false } ] }' {} \\;",
|
32 | "prepare": "rm -rf ./dist && npm run build",
|
33 | "prepublishOnly": "git push && git push --tags",
|
34 | "start": "cd gallery && npm start",
|
35 | "test": "npm run lint && npm run jest"
|
36 | },
|
37 | "peerDependencies": {
|
38 | "react": "^16.3.1",
|
39 | "react-dom": "^16.3.1",
|
40 | "styled-components": ">=4.0.0"
|
41 | },
|
42 | "devDependencies": {
|
43 | "@babel/cli": "^7.1.5",
|
44 | "@babel/plugin-proposal-class-properties": "^7.1.0",
|
45 | "@babel/plugin-transform-react-jsx": "^7.0.0",
|
46 | "@babel/plugin-transform-runtime": "^7.2.0",
|
47 | "@babel/preset-env": "^7.8.7",
|
48 | "@babel/preset-react": "^7.0.0",
|
49 | "@rollup/plugin-node-resolve": "^7.0.0",
|
50 | "@rollup/plugin-url": "^4.0.1",
|
51 | "@svgr/core": "^4.1.0",
|
52 | "@svgr/plugin-prettier": "^4.0.3",
|
53 | "@testing-library/jest-dom": "^5.1.1",
|
54 | "@testing-library/react": "^9.5.0",
|
55 | "babel-eslint": "^10.0.1",
|
56 | "babel-plugin-styled-components": "^1.10.6",
|
57 | "eslint": "^5.9.0",
|
58 | "eslint-config-prettier": "^4.3.0",
|
59 | "eslint-config-standard": "^12.0.0",
|
60 | "eslint-config-standard-react": "^7.0.2",
|
61 | "eslint-plugin-import": "^2.8.0",
|
62 | "eslint-plugin-jest": "^22.5.1",
|
63 | "eslint-plugin-node": "^9.0.1",
|
64 | "eslint-plugin-prettier": "^3.0.0",
|
65 | "eslint-plugin-promise": "^4.0.1",
|
66 | "eslint-plugin-react": "^7.4.0",
|
67 | "eslint-plugin-react-hooks": "^2.0.1",
|
68 | "eslint-plugin-standard": "^4.0.0",
|
69 | "fast-glob": "^3.1.1",
|
70 | "gh-pages": "^2.1.1",
|
71 | "har-validator": "^5.1.3",
|
72 | "husky": "^1.1.4",
|
73 | "jest": "^25.3.0",
|
74 | "lint-staged": "^8.1.0",
|
75 | "listr": "^0.14.3",
|
76 | "prettier": "^1.19.0",
|
77 | "react": "^16.3.1",
|
78 | "react-dom": "^16.3.1",
|
79 | "rollup": "^1.30.1",
|
80 | "rollup-plugin-analyzer": "^3.2.2",
|
81 | "rollup-plugin-babel": "^4.0.3",
|
82 | "rollup-plugin-commonjs": "^10.0.0",
|
83 | "rollup-plugin-progress": "^1.1.1",
|
84 | "styled-components": ">=4.0.0",
|
85 | "svgo": "^1.2.2"
|
86 | },
|
87 | "dependencies": {
|
88 | "@babel/runtime": "^7.3.1",
|
89 | "airbnb-prop-types": "^2.9.0",
|
90 | "arg": "^2.0.0",
|
91 | "command-exists": "^1.2.6",
|
92 | "dayjs": "^1.8.14",
|
93 | "js-sha3": "^0.8.0",
|
94 | "jsbi": "^3.1.2",
|
95 | "lodash": "^4.17.19",
|
96 | "markdown-to-jsx": "^6.11.0",
|
97 | "popper.js": "^1.14.4",
|
98 | "prop-types": "^15.6.0",
|
99 | "react-blockies": "^1.4.0",
|
100 | "react-display-name": "^0.2.3",
|
101 | "react-onclickout": "^2.0.8",
|
102 | "react-spring": "^7.2.11",
|
103 | "recursive-copy": "^2.0.9",
|
104 | "use-inside": "^0.2.0"
|
105 | },
|
106 | "engines": {
|
107 | "node": ">=12.0.0"
|
108 | },
|
109 | "browserslist": {
|
110 | "development": "> 1%",
|
111 | "production": "> 1%"
|
112 | },
|
113 | "husky": {
|
114 | "hooks": {
|
115 | "pre-push": "npm run lint && npm run icons:check",
|
116 | "pre-commit": "lint-staged"
|
117 | }
|
118 | },
|
119 | "lint-staged": {
|
120 | "src/*.js": [
|
121 | "eslint --fix",
|
122 | "git add"
|
123 | ]
|
124 | }
|
125 | }
|