vega-frontend-monorepo/package.json

123 lines
3.0 KiB
JSON
Raw Normal View History

{
2021-12-13 10:27:07 +00:00
"name": "@vegaprotocol/ui-toolkit",
2021-12-16 12:43:05 +00:00
"version": "0.5.0",
2021-12-14 11:40:54 +00:00
"description": "A React component library for Vega branded components",
2021-09-15 19:46:10 +00:00
"exports": {
".": "./dist/modern.js",
"./dist/": "./dist/"
},
"main": "./dist/legacy.js",
"module": "./dist/module.js",
"types": "./dist/types/index.d.ts",
"dependencies": {
2021-09-15 19:46:10 +00:00
"@babel/plugin-transform-runtime": "^7.15.0",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"@types/jest": "^26.0.15",
"@types/node": "^12.0.0",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"node-sass": "^5.0.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-scripts": "4.0.3",
"typescript": "^4.1.2",
"web-vitals": "^1.0.1"
},
"scripts": {
2021-09-15 19:46:10 +00:00
"build": "rollup -c && yarn build:types",
"build:types": "tsc",
"test": "react-scripts test",
2021-12-14 13:16:18 +00:00
"test:coverage": "yarn test --coverage --watchAll=false ",
"eject": "react-scripts eject",
"storybook": "start-storybook -p 6006 -s public",
"build-storybook": "build-storybook -s public"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
],
"overrides": [
{
"files": [
"**/*.stories.*"
],
"rules": {
"import/no-anonymous-default-export": "off"
}
}
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
2021-09-15 19:46:10 +00:00
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^20.0.0",
"@rollup/plugin-node-resolve": "^13.0.4",
"@rollup/plugin-typescript": "^8.2.5",
"@storybook/addon-actions": "^6.3.8",
"@storybook/addon-essentials": "^6.3.8",
"@storybook/addon-links": "^6.3.8",
"@storybook/node-logger": "^6.3.8",
"@storybook/preset-create-react-app": "^3.2.0",
2021-09-15 19:46:10 +00:00
"@storybook/react": "^6.3.8",
2021-12-14 12:15:19 +00:00
"babel-loader": "8.1.0",
2021-09-15 19:46:10 +00:00
"postcss": "8.3.6",
"rollup": "^2.56.3",
"rollup-plugin-postcss": "^4.0.1",
"rollup-plugin-terser": "^7.0.2"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0",
"react-dom": "^16.8.0 || ^17.0.0"
2021-12-14 11:40:54 +00:00
},
"files": [
"dist/*.js",
"dist/*.css",
"dist/**/*.d.ts"
],
"repository": {
"type": "git",
"url": "https://github.com/vegaprotocol/ui-toolkit.git"
},
"author": "Vega <hi@vega.xyz>",
"license": "MIT",
"bugs": {
"url": "https://github.com/vegaprotocol/ui-toolkit/issues"
},
"homepage": "https://github.com/vegaprotocol/ui-toolkit",
"keywords": [
"vega"
2021-12-14 13:16:18 +00:00
],
"jest": {
"collectCoverageFrom": [
"**/**/*.{ts,tsx}",
"!**/**/*.stories.tsx"
],
"coverageReporters": [
"html",
"json"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
}
}
2021-09-15 19:46:10 +00:00
}