1 | {
|
2 | "name": "@aragon/ui",
|
3 | "version": "0.40.2",
|
4 | "author": "Aragon Association <legal@aragon.org>",
|
5 | "license": "MIT",
|
6 | "repository": "github:aragon/aragon-ui",
|
7 | "main": "dist/index.cjs.js",
|
8 | "module": "dist/index.esm.js",
|
9 | "files": [
|
10 | "LICENSE",
|
11 | "README.md",
|
12 | "bin/",
|
13 | "dist/"
|
14 | ],
|
15 | "bin": {
|
16 | "copy-aragon-ui-assets": "./bin/copy-aragon-ui-assets"
|
17 | },
|
18 | "scripts": {
|
19 | "build": "rollup -c",
|
20 | "deploy:site": "cd gallery && npm run build && echo 'ui.aragon.org' > dist/CNAME && cp public/favicon.svg dist && gh-pages -d dist",
|
21 | "dev": "rollup -c -w",
|
22 | "flow": "flow",
|
23 | "icons:build": "svgr --no-semi --replace-attr-value '#8B9396=currentColor' --no-title -d src/icons/components src/icons/svg",
|
24 | "jest": "jest",
|
25 | "lint": "eslint ./src",
|
26 | "lint:fix": "eslint --fix ./src",
|
27 | "optimize:svg": "find ./src -name *.svg -exec svgo --config '{ \"plugins\": [ { \"removeDesc\": {\"removeAny\": true} }, { \"removeTitle\": true }, { \"removeViewBox\": false } ] }' {} \\;",
|
28 | "prepare": "npm run build",
|
29 | "prepublishOnly": "git push && git push --tags",
|
30 | "start": "cd gallery && npm start",
|
31 | "test": "npm run lint && npm run jest",
|
32 | "theme:build": "scripts/oco-to-js.js < src/theme/Aragon.oco > src/theme/aragon.js"
|
33 | },
|
34 | "peerDependencies": {
|
35 | "react": "^16.3.1",
|
36 | "react-dom": "^16.3.1",
|
37 | "styled-components": ">=4.0.0"
|
38 | },
|
39 | "devDependencies": {
|
40 | "@babel/cli": "^7.1.5",
|
41 | "@babel/plugin-proposal-class-properties": "^7.1.0",
|
42 | "@babel/plugin-transform-react-jsx": "^7.0.0",
|
43 | "@babel/plugin-transform-runtime": "^7.2.0",
|
44 | "@babel/preset-env": "^7.1.5",
|
45 | "@babel/preset-react": "^7.0.0",
|
46 | "babel-eslint": "^10.0.1",
|
47 | "babel-jest": "^24.8.0",
|
48 | "babel-plugin-styled-components": "^1.10.0",
|
49 | "eslint": "^5.9.0",
|
50 | "eslint-config-prettier": "^3.3.0",
|
51 | "eslint-config-standard": "^12.0.0",
|
52 | "eslint-config-standard-react": "^7.0.2",
|
53 | "eslint-plugin-import": "^2.8.0",
|
54 | "eslint-plugin-jest": "^22.5.1",
|
55 | "eslint-plugin-node": "^8.0.0",
|
56 | "eslint-plugin-prettier": "^3.0.0",
|
57 | "eslint-plugin-promise": "^4.0.1",
|
58 | "eslint-plugin-react": "^7.4.0",
|
59 | "eslint-plugin-standard": "^4.0.0",
|
60 | "gh-pages": "^1.0.0",
|
61 | "har-validator": "^5.1.3",
|
62 | "husky": "^1.1.4",
|
63 | "jest": "^24.8.0",
|
64 | "lint-staged": "^8.1.0",
|
65 | "opencolor": "^0.2.0",
|
66 | "opencolor-converter": "git://github.com/opencolor-tools/opencolor-converter.git#v2.1.23",
|
67 | "prettier": "^1.17.1",
|
68 | "react-media": "^1.6.1",
|
69 | "rollup": "^0.67.1",
|
70 | "rollup-plugin-babel": "^4.0.3",
|
71 | "rollup-plugin-commonjs": "^9.2.0",
|
72 | "rollup-plugin-filesize": "^5.0.1",
|
73 | "rollup-plugin-node-resolve": "^3.0.0",
|
74 | "rollup-plugin-progress": "^0.4.0",
|
75 | "rollup-plugin-uglify": "^6.0.0",
|
76 | "rollup-plugin-url": "^2.0.1",
|
77 | "svgo": "^1.0.3",
|
78 | "svgr": "^1.1.0"
|
79 | },
|
80 | "dependencies": {
|
81 | "@babel/runtime": "^7.3.1",
|
82 | "airbnb-prop-types": "^2.9.0",
|
83 | "arg": "^2.0.0",
|
84 | "command-exists": "^1.2.6",
|
85 | "dayjs": "^1.8.14",
|
86 | "lodash-es": "^4.17.11",
|
87 | "onecolor": "^3.0.5",
|
88 | "popper.js": "^1.14.4",
|
89 | "prop-types": "^15.6.0",
|
90 | "react-blockies": "^1.4.0",
|
91 | "react-display-name": "^0.2.3",
|
92 | "react-onclickout": "^2.0.8",
|
93 | "react-spring": "^7.2.11",
|
94 | "recursive-copy": "^2.0.9"
|
95 | },
|
96 | "browserslist": {
|
97 | "development": "> 1%",
|
98 | "production": "> 1%"
|
99 | },
|
100 | "husky": {
|
101 | "hooks": {
|
102 | "pre-push": "npm run lint",
|
103 | "pre-commit": "lint-staged"
|
104 | }
|
105 | },
|
106 | "lint-staged": {
|
107 | "src/*.js": [
|
108 | "eslint --fix",
|
109 | "git add"
|
110 | ]
|
111 | },
|
112 | "jest": {
|
113 | "modulePaths": [
|
114 | "<rootDir>"
|
115 | ]
|
116 | }
|
117 | }
|