Created
May 24, 2021 14:41
-
-
Save brandonroberts/8395d878038baca023f07c38dc0b42c4 to your computer and use it in GitHub Desktop.
Schematic package.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "my-lib", | |
"version": "0.0.1", | |
"scripts": { | |
"prebuild": "../../node_modules/.bin/rimraf dist/my-lib && mkdir -p ../../dist/my-lib/schematics && cp -R schematics/ ../../dist/my-lib/schematics/", | |
"build": "../../node_modules/.bin/tsc -p tsconfig.schematics.json", | |
"postbuild": "../../node_modules/.bin/rimraf --glob ../../dist/my-lib/schematics/**/*.ts" | |
}, | |
"peerDependencies": { | |
"@angular/common": "^12.0.0", | |
"@angular/core": "^12.0.0" | |
}, | |
"schematics": "./schematics/collection.json" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment