mirror of
https://github.com/hex248/ob248.com.git
synced 2026-02-08 02:33:02 +00:00
93 lines
2.7 KiB
JSON
93 lines
2.7 KiB
JSON
{
|
|
"name": "@nsmr/pixelart-react",
|
|
"version": "2.0.0",
|
|
"description": "Pixelarticons as React Components - Finest handmade pixelart icons, now for React. Includes interactive gallery with all 486 icons.",
|
|
"main": "dist/cjs/index.js",
|
|
"module": "dist/esm/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/esm/index.js",
|
|
"require": "./dist/cjs/index.js",
|
|
"types": "./dist/index.d.ts"
|
|
},
|
|
"./react": {
|
|
"import": "./dist/esm/index.js",
|
|
"require": "./dist/cjs/index.js",
|
|
"types": "./dist/index.d.ts"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"svg",
|
|
"examples/gallery-generator.html"
|
|
],
|
|
"sideEffects": false,
|
|
"scripts": {
|
|
"build": "rimraf dist && npm run build:components && npm run build:esm && npm run build:cjs",
|
|
"build:components": "node --loader ts-node/esm scripts/build.ts",
|
|
"build:esm": "tsc --module esnext --outDir dist/esm",
|
|
"build:cjs": "tsc --module commonjs --outDir dist/cjs",
|
|
"build:webpack": "webpack --config webpack.config.js",
|
|
"build:gallery": "node scripts/generate-gallery.js",
|
|
"dev": "tsc --watch",
|
|
"typecheck": "tsc --noEmit",
|
|
"lint": "eslint src --ext .ts,.tsx",
|
|
"prepublishOnly": "npm run build",
|
|
"demo": "npx http-server . -o examples/gallery-generator.html"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/nicholuassommer/pixelarticons-react.git"
|
|
},
|
|
"keywords": [
|
|
"pixel",
|
|
"pixelart",
|
|
"icon",
|
|
"icons",
|
|
"iconset",
|
|
"vector",
|
|
"react",
|
|
"react-component",
|
|
"typescript"
|
|
],
|
|
"author": "Gerrit Halfmann",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/nicholuassommer/pixelarticons-react/issues"
|
|
},
|
|
"homepage": "https://github.com/nicholuassommer/pixelarticons-react#readme",
|
|
"peerDependencies": {
|
|
"react": ">=16.8.0",
|
|
"react-dom": ">=16.8.0"
|
|
},
|
|
"devDependencies": {
|
|
"@svgr/core": "^8.1.0",
|
|
"@svgr/plugin-jsx": "^8.1.0",
|
|
"@svgr/plugin-svgo": "^8.1.0",
|
|
"@svgr/webpack": "^8.1.0",
|
|
"@types/fs-extra": "^11.0.4",
|
|
"@types/node": "^20.10.5",
|
|
"@types/react": "^18.2.45",
|
|
"@types/react-dom": "^18.2.18",
|
|
"@typescript-eslint/eslint-plugin": "^6.15.0",
|
|
"@typescript-eslint/parser": "^6.15.0",
|
|
"eslint": "^8.56.0",
|
|
"eslint-plugin-react": "^7.33.2",
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
"fs-extra": "^11.2.0",
|
|
"glob": "^10.3.10",
|
|
"np": "^8.0.4",
|
|
"puppeteer": "^24.3.0",
|
|
"rimraf": "^5.0.5",
|
|
"svgtofont": "^3.23.1",
|
|
"terser-webpack-plugin": "^5.3.10",
|
|
"ts-loader": "^9.5.1",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "^5.3.3",
|
|
"webpack": "^5.89.0",
|
|
"webpack-cli": "^5.1.4"
|
|
}
|
|
}
|