angular/packages/core/package.json
Alan Agius 9f5e90e03d build: make JSA contract binary accessible (#55361)
This commit integrates the JSA contract binary into the NPM package and ensures its accessibility by including it in the package exports. This adjustment is essential for enabling Angular CLI to effectively access and inject the script. Additionally, sourcemaps are removed from the minified bundle to prevent their inclusion in the HTML page.

PR Close #55361
2024-04-17 10:37:31 +02:00

36 lines
850 B
JSON

{
"name": "@angular/core",
"version": "0.0.0-PLACEHOLDER",
"description": "Angular - the core framework",
"author": "angular",
"license": "MIT",
"engines": {
"node": "^18.13.0 || >=20.9.0"
},
"exports": {
"./schematics/*": {
"default": "./schematics/*.js"
},
"./event-dispatch-contract.min.js": {
"default": "./event-dispatch-contract.min.js"
}
},
"dependencies": {
"tslib": "^2.3.0"
},
"peerDependencies": {
"rxjs": "^6.5.3 || ^7.4.0",
"zone.js": "~0.14.0"
},
"repository": {
"type": "git",
"url": "https://github.com/angular/angular.git",
"directory": "packages/core"
},
"ng-update": {
"migrations": "./schematics/migrations.json",
"packageGroup": "NG_UPDATE_PACKAGE_GROUP"
},
"schematics": "./schematics/collection.json",
"sideEffects": false
}