2023-01-17 13:32:04 +00:00
|
|
|
{
|
|
|
|
"name": "@status-im/icons",
|
2024-11-14 05:56:10 +00:00
|
|
|
"version": "1.0.2",
|
2024-09-25 15:17:58 +00:00
|
|
|
"license": "MPL-2.0",
|
2023-01-17 13:32:04 +00:00
|
|
|
"files": [
|
2023-01-20 14:18:05 +00:00
|
|
|
"dist",
|
2023-04-14 21:27:05 +00:00
|
|
|
"svg"
|
2023-01-17 13:32:04 +00:00
|
|
|
],
|
2023-03-13 20:47:52 +00:00
|
|
|
"exports": {
|
2023-01-20 14:18:05 +00:00
|
|
|
"./package.json": "./package.json",
|
2023-04-14 21:27:05 +00:00
|
|
|
".": {
|
2024-09-24 16:17:41 +00:00
|
|
|
"import": "./index.es.js",
|
|
|
|
"require": "./index.js"
|
2023-03-13 20:47:52 +00:00
|
|
|
},
|
2024-09-24 16:17:41 +00:00
|
|
|
"./12": {
|
|
|
|
"types": "./dist/12/index.d.ts",
|
|
|
|
"import": "./dist/12/index.es.js",
|
|
|
|
"require": "./dist/12/index.cjs.js"
|
|
|
|
},
|
|
|
|
"./16": {
|
|
|
|
"types": "./dist/16/index.d.ts",
|
|
|
|
"import": "./dist/16/index.es.js",
|
|
|
|
"require": "./dist/16/index.cjs.js"
|
|
|
|
},
|
|
|
|
"./20": {
|
|
|
|
"types": "./dist/20/index.d.ts",
|
|
|
|
"import": "./dist/20/index.es.js",
|
|
|
|
"require": "./dist/20/index.cjs.js"
|
|
|
|
},
|
|
|
|
"./social": {
|
|
|
|
"types": "./dist/social/index.d.ts",
|
|
|
|
"import": "./dist/social/index.es.js",
|
|
|
|
"require": "./dist/social/index.cjs.js"
|
|
|
|
},
|
|
|
|
"./reactions": {
|
|
|
|
"types": "./dist/reactions/index.d.ts",
|
|
|
|
"import": "./dist/reactions/index.es.js",
|
|
|
|
"require": "./dist/reactions/index.cjs.js"
|
|
|
|
},
|
|
|
|
"./12/*.svg": {
|
|
|
|
"import": "./svg/12/*.svg"
|
|
|
|
},
|
|
|
|
"./16/*.svg": {
|
|
|
|
"import": "./svg/16/*.svg"
|
|
|
|
},
|
|
|
|
"./20/*.svg": {
|
|
|
|
"import": "./svg/20/*.svg"
|
|
|
|
},
|
|
|
|
"./social/*.svg": {
|
|
|
|
"import": "./svg/social/*.svg"
|
|
|
|
},
|
|
|
|
"./reactions/*.svg": {
|
|
|
|
"import": "./svg/reactions/*.svg"
|
2023-04-14 21:27:05 +00:00
|
|
|
}
|
2023-01-20 14:18:05 +00:00
|
|
|
},
|
2024-11-01 18:29:14 +00:00
|
|
|
"engines": {
|
|
|
|
"node": ">=18.18.0"
|
|
|
|
},
|
2023-01-17 13:32:04 +00:00
|
|
|
"scripts": {
|
2024-11-01 18:29:14 +00:00
|
|
|
"preinstall": "npx only-allow pnpm",
|
2024-09-24 16:17:41 +00:00
|
|
|
"sync": "vite-node scripts/sync.ts && prettier --parser=html --write 'svg/**/*.svg'",
|
2024-11-01 18:29:14 +00:00
|
|
|
"generate": "rimraf src && svgr svg --out-dir src && pnpm lint:fix && pnpm format",
|
2023-01-17 13:32:04 +00:00
|
|
|
"dev": "vite build --watch --mode development",
|
|
|
|
"build": "vite build",
|
2024-11-14 05:50:42 +00:00
|
|
|
"postbuild": "pnpm build:types",
|
2024-09-24 16:17:41 +00:00
|
|
|
"build:types": "tsc src/**/index.ts --emitDeclarationOnly --declaration --jsx react-jsx --skipLibCheck --declarationDir ./dist",
|
2023-01-17 13:32:04 +00:00
|
|
|
"#test": "vitest",
|
|
|
|
"typecheck": "tsc",
|
2024-11-14 05:50:42 +00:00
|
|
|
"lint": "eslint src",
|
2024-11-01 18:29:14 +00:00
|
|
|
"lint:fix": "pnpm lint --fix",
|
2023-04-14 21:27:05 +00:00
|
|
|
"format": "prettier --write 'src/**/*.{ts,tsx}'",
|
2024-02-23 14:13:29 +00:00
|
|
|
"clean": "rimraf dist node_modules .turbo",
|
2024-11-01 18:29:14 +00:00
|
|
|
"prepack": "pnpm build"
|
2023-01-17 13:32:04 +00:00
|
|
|
},
|
|
|
|
"peerDependencies": {
|
2023-01-20 14:18:05 +00:00
|
|
|
"react": "^16.x || ^17.x || ^18.x",
|
2024-09-24 16:17:41 +00:00
|
|
|
"react-dom": "*"
|
2023-01-17 13:32:04 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-09-24 16:17:41 +00:00
|
|
|
"@clack/prompts": "^0.7.0",
|
2024-11-01 18:29:14 +00:00
|
|
|
"@status-im/eslint-config": "workspace:*",
|
2024-09-24 16:17:41 +00:00
|
|
|
"@svgr/cli": "^8.1.0",
|
|
|
|
"@svgr/core": "^8.1.0",
|
|
|
|
"@svgr/plugin-prettier": "^8.1.0",
|
|
|
|
"@svgr/plugin-svgo": "^8.1.0",
|
|
|
|
"@types/fs-extra": "^11.0.1",
|
2024-09-25 15:17:58 +00:00
|
|
|
"@vitejs/plugin-react": "^4.3.1",
|
2023-04-14 21:27:05 +00:00
|
|
|
"figma-api": "^1.11.0",
|
|
|
|
"fs-extra": "^11.1.1",
|
2024-09-24 16:17:41 +00:00
|
|
|
"p-map": "^7.0.2",
|
2024-09-25 15:17:58 +00:00
|
|
|
"svgo": "^3.0.2",
|
|
|
|
"vite": "^5.4.3",
|
|
|
|
"vite-node": "^2.0.5"
|
2023-06-27 20:30:11 +00:00
|
|
|
},
|
2023-06-29 10:04:52 +00:00
|
|
|
"publishConfig": {
|
|
|
|
"access": "public"
|
|
|
|
},
|
2023-06-27 20:30:11 +00:00
|
|
|
"lint-staged": {
|
|
|
|
"*.{ts,tsx,js,jsx,mjs}": [
|
|
|
|
"eslint",
|
|
|
|
"prettier --write"
|
|
|
|
],
|
|
|
|
"*.{md,mdx,yml,yaml,json}": [
|
|
|
|
"prettier --write"
|
|
|
|
]
|
2023-01-17 13:32:04 +00:00
|
|
|
}
|
|
|
|
}
|