2022-02-27 04:41:30 +00:00
|
|
|
{
|
2022-03-21 23:40:14 +00:00
|
|
|
"name": "@quri/squiggle-components",
|
2022-05-04 22:59:58 +00:00
|
|
|
"version": "0.2.20",
|
2022-04-28 20:19:40 +00:00
|
|
|
"license": "MIT",
|
2022-04-25 16:55:15 +00:00
|
|
|
"dependencies": {
|
2022-07-11 17:01:07 +00:00
|
|
|
"@headlessui/react": "^1.6.6",
|
2022-05-30 20:10:25 +00:00
|
|
|
"@heroicons/react": "^1.0.6",
|
2022-07-11 17:10:34 +00:00
|
|
|
"@hookform/resolvers": "^2.9.5",
|
2022-04-30 16:04:03 +00:00
|
|
|
"@quri/squiggle-lang": "^0.2.8",
|
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-07-11 16:47:49 +00:00
|
|
|
"framer-motion": "^6.4.3",
|
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-07-11 17:01:07 +00:00
|
|
|
"react-hook-form": "^7.33.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-07-11 14:48:36 +00:00
|
|
|
"vega-lite": "^5.3.0",
|
2022-06-20 14:38:45 +00:00
|
|
|
"vscode-uri": "^3.0.3",
|
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-06-20 14:54:39 +00:00
|
|
|
"@storybook/addon-actions": "^6.5.9",
|
2022-06-20 14:55:55 +00:00
|
|
|
"@storybook/addon-essentials": "^6.5.9",
|
2022-06-20 15:46:21 +00:00
|
|
|
"@storybook/addon-links": "^6.5.9",
|
2022-06-20 15:15:53 +00:00
|
|
|
"@storybook/builder-webpack5": "^6.5.9",
|
2022-06-20 16:24:18 +00:00
|
|
|
"@storybook/manager-webpack5": "^6.5.9",
|
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-06-20 15:46:42 +00:00
|
|
|
"@storybook/react": "^6.5.9",
|
2022-04-08 14:48:06 +00:00
|
|
|
"@testing-library/jest-dom": "^5.16.4",
|
2022-05-30 14:45:34 +00:00
|
|
|
"@testing-library/react": "^13.3.0",
|
2022-06-20 15:13:09 +00:00
|
|
|
"@testing-library/user-event": "^14.2.1",
|
2022-05-04 14:41:05 +00:00
|
|
|
"@types/jest": "^27.5.0",
|
2022-04-19 14:40:08 +00:00
|
|
|
"@types/lodash": "^4.14.182",
|
2022-07-11 17:01:07 +00:00
|
|
|
"@types/node": "^18.0.3",
|
2022-05-09 14:33:42 +00:00
|
|
|
"@types/react": "^18.0.9",
|
2022-04-29 18:46:44 +00:00
|
|
|
"@types/styled-components": "^5.1.24",
|
|
|
|
"@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-06-09 20:57:45 +00:00
|
|
|
"postcss-cli": "^9.1.0",
|
|
|
|
"postcss-import": "^14.1.0",
|
2022-07-11 17:14:14 +00:00
|
|
|
"postcss-loader": "^7.0.1",
|
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-07-11 14:51:38 +00:00
|
|
|
"tailwindcss": "^3.1.5",
|
2022-05-02 14:40:06 +00:00
|
|
|
"ts-loader": "^9.3.0",
|
2022-02-27 04:41:30 +00:00
|
|
|
"tsconfig-paths-webpack-plugin": "^3.5.2",
|
2022-06-20 17:43:29 +00:00
|
|
|
"typescript": "^4.7.4",
|
2022-04-29 18:46:44 +00:00
|
|
|
"web-vitals": "^2.1.4",
|
2022-06-06 15:44:16 +00:00
|
|
|
"webpack": "^5.73.0",
|
2022-06-13 14:31:43 +00:00
|
|
|
"webpack-cli": "^4.10.0",
|
2022-07-11 14:48:04 +00:00
|
|
|
"webpack-dev-server": "^4.9.3"
|
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-06-19 20:59:17 +00:00
|
|
|
"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",
|
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 .",
|
|
|
|
"prepack": "yarn bundle && tsc -b"
|
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
|
|
|
}
|