insomnia/packages/insomnia-components/package.json

79 lines
2.4 KiB
JSON

{
"name": "insomnia-components",
"version": "3.3.1-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": {
"@jest/globals": "^28.1.0",
"@svgr/cli": "^5.5.0",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^12.1.5",
"@types/ramda": "^0.27.44",
"@types/react": "^17.0.39",
"@types/react-dom": "^17.0.11",
"concurrently": "^7.0.0",
"cross-env": "^7.0.3",
"esbuild": "^0.14.27",
"esbuild-runner": "^2.2.1",
"jest": "^28.1.0",
"jest-environment-jsdom": "^28.0.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-use": "^17.2.4",
"styled-components": "^5.3.3",
"type-fest": "^2.12.0",
"typescript": "^4.5.5",
"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",
"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"
}
}