mirror of
https://github.com/lucide-icons/lucide.git
synced 2026-11-13 13:48:26 +00:00
* feat(packages): extract build logic to @lucide/shared, still wip * feat(): unify icon build logic some more, add nonScalingStroke option, marking absoluteStrokeWidth as deprecated * feat(): unify icon build logic some more, add nonScalingStroke option, marking absoluteStrokeWidth as deprecated * feat(packages): extract build logic to @lucide/shared, still wip * feat(): unify icon build logic some more, add nonScalingStroke option, marking absoluteStrokeWidth as deprecated * feat(): unify icon build logic some more, add nonScalingStroke option, marking absoluteStrokeWidth as deprecated * chore(icons): revert git hook changes made to icons * fix(packages/astro,react-native,vue): fix iconNode type fix(packages/vue): fix hasA11yProp * fix(packages/solid): make component reactive & add unit tests for checking prop changes * test(packages/vue): add reactivity tests to @lucide/vue * fix(packages): replace cpy-cli, accidentally removed during main merge * docs(packages): upgrade react documentation with nonScalingStroke * fix(tests): update snapshots for lucide-react * feat(docs): upgraded package guides with nonScalingStroke, dropping absoluteStrokeWidth * fix(vue,react-native): fix linting issues * fix(icons): add proper fallback for icon width in calculatedStrokeWidth * fix(packages/svelte): add globalProps.class to icons * fix(packages/shared): wrap width, height & size in isDefined * Update types.ts * fix(packages/svelte): do not pass propsClass to mergeClasses --------- Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
71 lines
2.4 KiB
JSON
71 lines
2.4 KiB
JSON
{
|
|
"name": "@lucide/angular",
|
|
"description": "A Lucide icon library package for Angular applications.",
|
|
"version": "0.0.1",
|
|
"author": "karsa-mistmere",
|
|
"license": "ISC",
|
|
"homepage": "https://lucide.dev",
|
|
"bugs": "https://github.com/lucide-icons/lucide/issues",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/lucide-icons/lucide.git",
|
|
"directory": "packages/angular"
|
|
},
|
|
"publishConfig": {
|
|
"directory": "dist"
|
|
},
|
|
"scripts": {
|
|
"ng": "ng",
|
|
"watch": "ng build --watch --configuration development",
|
|
"prebuild": "pnpm clean && pnpm copy:license && pnpm copy:utils && pnpm build:icons",
|
|
"build": "pnpm prebuild && pnpm build:ng",
|
|
"copy:license": "cp ../../LICENSE ./LICENSE",
|
|
"copy:utils": "cpy ../../packages/shared/src/build/{buildLucideIconNode.ts,defaultAttributes.ts,types.ts} ../../packages/shared/src/utils/mergeClasses.ts ./src/utils/",
|
|
"clean": "rm -rf dist && rm -rf ./src/icons/*.ts",
|
|
"build:icons": "build-icons --output=./src --templateSrc=./scripts/exportTemplate.mts --renderUniqueKey --iconFileExtension=.ts --exportFileName=lucide-angular.ts --useDefaultExports=0",
|
|
"build:ng": "ng build --configuration production",
|
|
"test": "pnpm copy:utils && pnpm build:icons && ng test --no-watch",
|
|
"test:watch": "pnpm copy:utils && ng test",
|
|
"lint": "eslint 'src/**/*.{js,jsx,ts,tsx,html,css,scss}' --quiet --fix",
|
|
"e2e": "ng e2e"
|
|
},
|
|
"prettier": {
|
|
"printWidth": 100,
|
|
"singleQuote": true,
|
|
"overrides": [
|
|
{
|
|
"files": "*.html",
|
|
"options": {
|
|
"parser": "angular"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@angular-eslint/builder": "~21.4.0",
|
|
"@angular-eslint/schematics": "~21.4.0",
|
|
"@angular/build": "^21.2.19",
|
|
"@angular/cli": "^21.2.19",
|
|
"@angular/common": "^21.2.19",
|
|
"@angular/compiler": "^21.2.19",
|
|
"@angular/compiler-cli": "^21.2.19",
|
|
"@angular/core": "^21.2.19",
|
|
"@angular/forms": "^21.2.19",
|
|
"@angular/platform-browser": "^21.2.19",
|
|
"@angular/platform-server": "^21.2.19",
|
|
"@angular/router": "^21.2.19",
|
|
"@lucide/build-icons": "workspace:*",
|
|
"@lucide/helpers": "workspace:*",
|
|
"@vitest/browser-playwright": "^4.1.10",
|
|
"angular-eslint": "21.4.0",
|
|
"ng-packagr": "^21.2.5",
|
|
"rxjs": "~7.8.2",
|
|
"tslib": "^2.8.1",
|
|
"typescript": "~5.9.3"
|
|
},
|
|
"peerDependencies": {
|
|
"@angular/common": ">=17.0.0",
|
|
"@angular/core": ">=17.0.0"
|
|
}
|
|
}
|