insomnia/packages/insomnia-components/package.json

94 lines
3.1 KiB
JSON

{
"name": "insomnia-components",
"version": "2.13.0-beta.0",
"author": "Kong <office@konghq.com>",
"description": "Insomnia UI component library",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/Kong/insomnia.git",
"directory": "packages/insomnia-components"
},
"bugs": {
"url": "https://github.com/Kong/insomnia/issues"
},
"main": "./dist/commonjs/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/commonjs/index.js",
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"scripts": {
"prebuild": "npm run convert-svg",
"build:source": "vite build",
"build:types": "tsc --build tsconfig.build.json",
"build": "concurrently --names source,types \"npm run build:source\" \"npm run build:types\"",
"clean": "rimraf dist && npm run clean:svg",
"clean:svg": "rimraf src/assets/svgr",
"clean:svg:index": "rimraf src/assets/svgr/index.tsx",
"convert-svg": "npm run clean:svg && svgr --config-file svgr.config.js --out-dir src/assets/svgr src/assets && npm run clean:svg:index",
"jest:watch": "jest --watch",
"prepare": "npm run convert-svg && npm run build",
"lint": "eslint . --ext .js,.ts,.tsx --cache",
"lint:fix": "npm run lint -- --fix",
"test": "jest",
"watch": "cross-env ESBUILD_WATCH=true esr esbuild.ts"
},
"devDependencies": {
"@babel/core": "^7.7.7",
"@babel/plugin-proposal-decorators": "^7.8.3",
"@babel/plugin-proposal-optional-chaining": "^7.12.7",
"@babel/plugin-transform-runtime": "^7.12.10",
"@svgr/cli": "^5.5.0",
"@testing-library/dom": "^7.30.4",
"@testing-library/jest-dom": "^5.12.0",
"@testing-library/react": "^11.2.6",
"@testing-library/react-hooks": "^5.1.2",
"@types/babel__core": "^7.1.14",
"@types/babel__plugin-transform-runtime": "^7.9.1",
"@types/md5": "^2.3.0",
"@types/prop-types": "^15.7.3",
"@types/ramda": "^0.27.44",
"@types/react": "^17.0.39",
"@types/react-dom": "^17.0.11",
"@types/testing-library__jest-dom": "^5.9.5",
"@types/testing-library__react-hooks": "^4.0.0",
"babel-plugin-inline-react-svg": "^1.1.1",
"concurrently": "^7.0.0",
"cross-env": "^7.0.3",
"esbuild": "^0.14.27",
"esbuild-runner": "^2.2.1",
"jest": "^26.6.3",
"react": "^17.0.2",
"react-docgen-typescript": "^1.22.0",
"react-dom": "^17.0.2",
"react-use": "^17.2.4",
"styled-components": "^5.3.3",
"ts-loader": "^8.2.0",
"type-fest": "^2.12.0",
"typescript": "^4.5.5",
"typescript-plugin-styled-components": "^2.0.0",
"vite": "^2.9.1"
},
"dependencies": {
"@types/styled-components": "^5.1.23",
"class-autobind-decorator": "^3.0.1",
"classnames": "^2.3.1",
"framer-motion": "4.1.17",
"fuzzysort": "^1.2.1",
"ramda": "^0.27.1",
"ramda-adjunct": "^2.33.0",
"react-switch": "^6.0.0"
},
"peerDependencies": {
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-use": "^17.2.4",
"styled-components": "^5.3.3"
}
}