114 lines
3.2 KiB
JSON
114 lines
3.2 KiB
JSON
{
|
|
"name": "@quri/squiggle-components",
|
|
"version": "0.2.24",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@floating-ui/react-dom": "^0.7.2",
|
|
"@floating-ui/react-dom-interactions": "^0.6.6",
|
|
"@headlessui/react": "^1.6.6",
|
|
"@heroicons/react": "^1.0.6",
|
|
"@hookform/resolvers": "^2.9.6",
|
|
"@quri/squiggle-lang": "^0.2.8",
|
|
"@react-hook/size": "^2.1.2",
|
|
"clsx": "^1.2.1",
|
|
"framer-motion": "^6.5.1",
|
|
"lodash": "^4.17.21",
|
|
"react": "^18.1.0",
|
|
"react-ace": "^10.1.0",
|
|
"react-hook-form": "^7.33.1",
|
|
"react-use": "^17.4.0",
|
|
"react-vega": "^7.6.0",
|
|
"vega": "^5.22.1",
|
|
"vega-embed": "^6.21.0",
|
|
"vega-lite": "^5.3.0",
|
|
"vscode-uri": "^3.0.3",
|
|
"yup": "^0.32.11"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/plugin-proposal-private-property-in-object": "^7.18.6",
|
|
"@storybook/addon-actions": "^6.5.9",
|
|
"@storybook/addon-essentials": "^6.5.9",
|
|
"@storybook/addon-links": "^6.5.9",
|
|
"@storybook/builder-webpack5": "^6.5.9",
|
|
"@storybook/manager-webpack5": "^6.5.9",
|
|
"@storybook/node-logger": "^6.5.9",
|
|
"@storybook/preset-create-react-app": "^4.1.2",
|
|
"@storybook/react": "^6.5.9",
|
|
"@testing-library/jest-dom": "^5.16.4",
|
|
"@testing-library/react": "^13.3.0",
|
|
"@testing-library/user-event": "^14.3.0",
|
|
"@types/jest": "^27.5.0",
|
|
"@types/lodash": "^4.14.182",
|
|
"@types/node": "^18.6.1",
|
|
"@types/react": "^18.0.9",
|
|
"@types/styled-components": "^5.1.24",
|
|
"@types/webpack": "^5.28.0",
|
|
"cross-env": "^7.0.3",
|
|
"mini-css-extract-plugin": "^2.6.1",
|
|
"postcss-cli": "^10.0.0",
|
|
"postcss-import": "^14.1.0",
|
|
"postcss-loader": "^7.0.1",
|
|
"react": "^18.1.0",
|
|
"react-scripts": "^5.0.1",
|
|
"style-loader": "^3.3.1",
|
|
"tailwindcss": "^3.1.6",
|
|
"ts-loader": "^9.3.0",
|
|
"tsconfig-paths-webpack-plugin": "^3.5.2",
|
|
"typescript": "^4.7.4",
|
|
"web-vitals": "^2.1.4",
|
|
"webpack": "^5.74.0",
|
|
"webpack-cli": "^4.10.0",
|
|
"webpack-dev-server": "^4.9.3"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^16.8.0 || ^17 || ^18",
|
|
"react-dom": "^16.8.0 || ^17 || ^18"
|
|
},
|
|
"scripts": {
|
|
"start": "cross-env REACT_APP_FAST_REFRESH=false && start-storybook -p 6006 -s public",
|
|
"build:cjs": "tsc -b",
|
|
"build:css": "postcss ./src/styles/main.css -o ./dist/main.css",
|
|
"build:storybook": "build-storybook -s public",
|
|
"build": "yarn run build:cjs && yarn run build:css && yarn run build:storybook",
|
|
"bundle": "webpack",
|
|
"all": "yarn bundle && yarn build",
|
|
"lint": "prettier --check .",
|
|
"format": "prettier --write .",
|
|
"prepack": "yarn bundle && tsc -b"
|
|
},
|
|
"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"
|
|
]
|
|
},
|
|
"resolutions": {
|
|
"@types/react": "17.0.43"
|
|
},
|
|
"source": "./src/index.ts",
|
|
"main": "./dist/src/index.js",
|
|
"types": "./dist/src/index.d.ts"
|
|
}
|