85 lines
2.1 KiB
JSON
85 lines
2.1 KiB
JSON
{
|
|
"name": "@vegaprotocol/ui-toolkit",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"exports": {
|
|
".": "./dist/modern.js",
|
|
"./dist/": "./dist/"
|
|
},
|
|
"main": "./dist/legacy.js",
|
|
"module": "./dist/module.js",
|
|
"types": "./dist/types/index.d.ts",
|
|
"dependencies": {
|
|
"@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": {
|
|
"build": "rollup -c && yarn build:types",
|
|
"build:types": "tsc",
|
|
"test": "react-scripts test",
|
|
"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": {
|
|
"@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",
|
|
"@storybook/react": "^6.3.8",
|
|
"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"
|
|
}
|
|
}
|