2021-09-15 17:27:17 +00:00
|
|
|
{
|
2021-12-13 10:27:07 +00:00
|
|
|
"name": "@vegaprotocol/ui-toolkit",
|
2021-09-15 17:27:17 +00:00
|
|
|
"version": "0.1.0",
|
|
|
|
"private": true,
|
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",
|
2021-09-15 17:27:17 +00:00
|
|
|
"dependencies": {
|
2021-09-15 19:46:10 +00:00
|
|
|
"@babel/plugin-transform-runtime": "^7.15.0",
|
2021-09-15 17:27:17 +00:00
|
|
|
"@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",
|
2021-09-15 18:52:57 +00:00
|
|
|
"node-sass": "^5.0.0",
|
2021-09-15 17:27:17 +00:00
|
|
|
"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",
|
2021-09-15 17:27:17 +00:00
|
|
|
"test": "react-scripts test",
|
2021-09-15 18:52:57 +00:00
|
|
|
"eject": "react-scripts eject",
|
|
|
|
"storybook": "start-storybook -p 6006 -s public",
|
|
|
|
"build-storybook": "build-storybook -s public"
|
2021-09-15 17:27:17 +00:00
|
|
|
},
|
|
|
|
"eslintConfig": {
|
|
|
|
"extends": [
|
|
|
|
"react-app",
|
|
|
|
"react-app/jest"
|
2021-09-15 18:52:57 +00:00
|
|
|
],
|
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"files": [
|
|
|
|
"**/*.stories.*"
|
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"import/no-anonymous-default-export": "off"
|
|
|
|
}
|
|
|
|
}
|
2021-09-15 17:27:17 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"browserslist": {
|
|
|
|
"production": [
|
|
|
|
">0.2%",
|
|
|
|
"not dead",
|
|
|
|
"not op_mini all"
|
|
|
|
],
|
|
|
|
"development": [
|
|
|
|
"last 1 chrome version",
|
|
|
|
"last 1 firefox version",
|
|
|
|
"last 1 safari version"
|
|
|
|
]
|
2021-09-15 18:52:57 +00:00
|
|
|
},
|
|
|
|
"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",
|
2021-09-15 18:52:57 +00:00
|
|
|
"@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",
|
|
|
|
"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-09-15 17:27:17 +00:00
|
|
|
}
|
2021-09-15 19:46:10 +00:00
|
|
|
}
|