mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 14:49:53 +00:00
78 lines
2.4 KiB
JSON
78 lines
2.4 KiB
JSON
{
|
|
"name": "insomnia-components",
|
|
"version": "3.1.0-beta.1",
|
|
"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": {
|
|
"@svgr/cli": "^5.5.0",
|
|
"@testing-library/jest-dom": "^5.12.0",
|
|
"@testing-library/react": "^11.2.6",
|
|
"@types/ramda": "^0.27.44",
|
|
"@types/react": "^17.0.39",
|
|
"@types/react-dom": "^17.0.11",
|
|
"@types/testing-library__jest-dom": "^5.9.5",
|
|
"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-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"
|
|
}
|
|
}
|