2022-02-27 04:41:30 +00:00
|
|
|
{
|
2022-03-21 23:40:14 +00:00
|
|
|
"name": "@quri/squiggle-components",
|
2022-10-02 11:30:17 +00:00
|
|
|
"version": "0.5.0",
|
2022-04-28 20:19:40 +00:00
|
|
|
"license": "MIT",
|
2022-04-25 16:55:15 +00:00
|
|
|
"dependencies": {
|
2022-08-01 14:28:47 +00:00
|
|
|
"@floating-ui/react-dom": "^1.0.0",
|
2022-09-19 14:59:38 +00:00
|
|
|
"@floating-ui/react-dom-interactions": "^0.10.1",
|
2022-10-03 14:32:28 +00:00
|
|
|
"@headlessui/react": "^1.7.3",
|
2022-05-30 20:10:25 +00:00
|
|
|
"@heroicons/react": "^1.0.6",
|
2022-09-12 14:37:48 +00:00
|
|
|
"@hookform/resolvers": "^2.9.8",
|
2022-10-02 11:30:17 +00:00
|
|
|
"@quri/squiggle-lang": "^0.5.0",
|
2022-04-29 18:46:44 +00:00
|
|
|
"@react-hook/size": "^2.1.2",
|
2022-07-11 17:26:24 +00:00
|
|
|
"clsx": "^1.2.1",
|
2022-09-26 18:08:09 +00:00
|
|
|
"framer-motion": "^7.4.0",
|
2022-04-29 18:46:44 +00:00
|
|
|
"lodash": "^4.17.21",
|
|
|
|
"react": "^18.1.0",
|
2022-04-30 16:52:13 +00:00
|
|
|
"react-ace": "^10.1.0",
|
2022-09-26 18:21:37 +00:00
|
|
|
"react-hook-form": "^7.36.1",
|
2022-05-20 14:41:18 +00:00
|
|
|
"react-use": "^17.4.0",
|
2022-07-11 16:44:15 +00:00
|
|
|
"react-vega": "^7.6.0",
|
2022-04-28 20:19:40 +00:00
|
|
|
"vega": "^5.22.1",
|
2022-06-20 15:15:47 +00:00
|
|
|
"vega-embed": "^6.21.0",
|
2022-08-22 14:22:54 +00:00
|
|
|
"vega-lite": "^5.5.0",
|
2022-09-19 15:27:32 +00:00
|
|
|
"vscode-uri": "^3.0.6",
|
2022-05-26 14:08:19 +00:00
|
|
|
"yup": "^0.32.11"
|
2022-04-25 18:44:10 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-07-11 14:51:09 +00:00
|
|
|
"@babel/plugin-proposal-private-property-in-object": "^7.18.6",
|
2022-09-20 03:28:33 +00:00
|
|
|
"@storybook/addon-actions": "^6.5.12",
|
2022-09-20 04:06:31 +00:00
|
|
|
"@storybook/addon-essentials": "^6.5.12",
|
2022-09-20 03:28:59 +00:00
|
|
|
"@storybook/addon-links": "^6.5.12",
|
2022-09-19 15:01:34 +00:00
|
|
|
"@storybook/builder-webpack5": "^6.5.12",
|
2022-09-20 03:52:37 +00:00
|
|
|
"@storybook/manager-webpack5": "^6.5.12",
|
2022-06-20 14:54:39 +00:00
|
|
|
"@storybook/node-logger": "^6.5.9",
|
2022-06-06 15:10:23 +00:00
|
|
|
"@storybook/preset-create-react-app": "^4.1.2",
|
2022-09-20 03:27:57 +00:00
|
|
|
"@storybook/react": "^6.5.12",
|
2022-08-08 14:26:50 +00:00
|
|
|
"@testing-library/jest-dom": "^5.16.5",
|
2022-09-05 16:58:04 +00:00
|
|
|
"@testing-library/react": "^13.4.0",
|
2022-08-15 14:45:23 +00:00
|
|
|
"@testing-library/user-event": "^14.4.3",
|
2022-05-04 14:41:05 +00:00
|
|
|
"@types/jest": "^27.5.0",
|
2022-09-12 14:38:30 +00:00
|
|
|
"@types/lodash": "^4.14.185",
|
2022-09-26 18:24:08 +00:00
|
|
|
"@types/node": "^18.7.22",
|
2022-09-26 14:38:43 +00:00
|
|
|
"@types/react": "^18.0.21",
|
2022-08-15 15:01:43 +00:00
|
|
|
"@types/styled-components": "^5.1.26",
|
2022-04-29 18:46:44 +00:00
|
|
|
"@types/webpack": "^5.28.0",
|
2022-02-27 04:41:30 +00:00
|
|
|
"cross-env": "^7.0.3",
|
2022-06-20 16:17:19 +00:00
|
|
|
"mini-css-extract-plugin": "^2.6.1",
|
2022-07-11 17:59:23 +00:00
|
|
|
"postcss-cli": "^10.0.0",
|
2022-09-12 07:14:42 +00:00
|
|
|
"postcss-import": "^15.0.0",
|
2022-07-11 17:14:14 +00:00
|
|
|
"postcss-loader": "^7.0.1",
|
2022-09-19 15:02:50 +00:00
|
|
|
"postcss-nesting": "^10.2.0",
|
2022-06-18 11:14:54 +00:00
|
|
|
"react": "^18.1.0",
|
2022-04-30 16:52:13 +00:00
|
|
|
"react-scripts": "^5.0.1",
|
2022-04-29 18:46:44 +00:00
|
|
|
"style-loader": "^3.3.1",
|
2022-08-08 14:32:06 +00:00
|
|
|
"tailwindcss": "^3.1.8",
|
2022-09-30 15:28:46 +00:00
|
|
|
"ts-loader": "^9.4.1",
|
2022-08-01 14:30:27 +00:00
|
|
|
"tsconfig-paths-webpack-plugin": "^4.0.0",
|
2022-09-12 14:39:54 +00:00
|
|
|
"typescript": "^4.8.3",
|
2022-09-19 15:22:54 +00:00
|
|
|
"web-vitals": "^3.0.2",
|
2022-07-25 14:25:33 +00:00
|
|
|
"webpack": "^5.74.0",
|
2022-06-13 14:31:43 +00:00
|
|
|
"webpack-cli": "^4.10.0",
|
2022-09-26 18:24:06 +00:00
|
|
|
"webpack-dev-server": "^4.11.1"
|
2022-02-27 04:41:30 +00:00
|
|
|
},
|
2022-06-18 11:14:54 +00:00
|
|
|
"peerDependencies": {
|
|
|
|
"react": "^16.8.0 || ^17 || ^18",
|
|
|
|
"react-dom": "^16.8.0 || ^17 || ^18"
|
|
|
|
},
|
2022-02-27 04:41:30 +00:00
|
|
|
"scripts": {
|
2022-03-23 14:01:51 +00:00
|
|
|
"start": "cross-env REACT_APP_FAST_REFRESH=false && start-storybook -p 6006 -s public",
|
2022-09-17 09:18:18 +00:00
|
|
|
"build:cjs": "rm -rf dist/src && rm -f dist/tsconfig.tsbuildinfo && tsc -b",
|
2022-06-19 20:59:17 +00:00
|
|
|
"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",
|
2022-03-24 23:27:17 +00:00
|
|
|
"bundle": "webpack",
|
2022-04-12 06:45:14 +00:00
|
|
|
"all": "yarn bundle && yarn build",
|
|
|
|
"lint": "prettier --check .",
|
2022-04-30 16:04:03 +00:00
|
|
|
"format": "prettier --write .",
|
2022-09-04 12:26:53 +00:00
|
|
|
"prepack": "yarn run build:cjs && yarn run bundle"
|
2022-02-27 04:41:30 +00:00
|
|
|
},
|
|
|
|
"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"
|
|
|
|
]
|
|
|
|
},
|
2022-03-02 23:22:26 +00:00
|
|
|
"resolutions": {
|
2022-03-25 14:41:49 +00:00
|
|
|
"@types/react": "17.0.43"
|
2022-03-02 23:22:26 +00:00
|
|
|
},
|
2022-03-21 23:40:14 +00:00
|
|
|
"source": "./src/index.ts",
|
2022-06-06 04:24:38 +00:00
|
|
|
"main": "./dist/src/index.js",
|
2022-04-30 16:04:03 +00:00
|
|
|
"types": "./dist/src/index.d.ts"
|
2022-02-27 04:41:30 +00:00
|
|
|
}
|