dappconnect-sdks/packages/icons/package.json

57 lines
1.4 KiB
JSON

{
"name": "@status-im/icons",
"version": "0.0.1",
"private": true,
"files": [
"dist",
"svg"
],
"main": "dist/icons.js",
"module": "dist/icons.mjs",
"types": "dist/types/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/icons.mjs",
"require": "./dist/icons.js"
},
"./*.svg": {
"import": "./svg/*.svg"
}
},
"scripts": {
"sync": " vite-node scripts/sync.ts",
"dev": "vite build --watch --mode development",
"build:icons": "rimraf src && svgr svg --out-dir src",
"build:types": "tsc --noEmit false --emitDeclarationOnly",
"prebuild": "yarn build:icons",
"build": "vite build",
"postbuild": "yarn build:types",
"#test": "vitest",
"typecheck": "tsc",
"lint": "eslint 'src/**/*.{ts,tsx}'",
"lint:fix": "yarn lint --fix",
"format": "prettier --write 'src/**/*.{ts,tsx}'",
"clean": "rimraf dist node_modules .turbo"
},
"peerDependencies": {
"react": "^16.x || ^17.x || ^18.x",
"react-dom": "*",
"react-native-svg": ">=12"
},
"devDependencies": {
"@clack/prompts": "^0.6.3",
"@svgr/cli": "^6.5.1",
"@svgr/core": "^7.0.0",
"@svgr/plugin-prettier": "^7.0.0",
"@svgr/plugin-svgo": "^7.0.0",
"@types/fs-extra": "^11.0.1",
"figma-api": "^1.11.0",
"fs-extra": "^11.1.1",
"svgo": "^3.0.2",
"vite": "^4.1.4",
"vite-node": "^0.29.7"
}
}