Skip to content

Commit bca110e

Browse files
chore(angular.json): add crypto-js dependency, and spectre.css package.
1 parent 7000683 commit bca110e

File tree

1 file changed

+37
-1
lines changed

1 file changed

+37
-1
lines changed

angular.json

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,9 @@
237237
"build": {
238238
"builder": "@angular-devkit/build-angular:browser",
239239
"options": {
240+
"allowedCommonJsDependencies": [
241+
"crypto-js"
242+
],
240243
"outputPath": "dist/demo",
241244
"index": "packages/demo/src/index.html",
242245
"main": "packages/demo/src/main.ts",
@@ -787,7 +790,40 @@
787790
}
788791
}
789792
}
793+
},
794+
"spectre.css": {
795+
"projectType": "library",
796+
"root": "packages/spectre.css",
797+
"sourceRoot": "packages/spectre.css/src",
798+
"prefix": "lib",
799+
"architect": {
800+
"build": {
801+
"builder": "@angular-devkit/build-angular:ng-packagr",
802+
"options": {
803+
"project": "packages/spectre.css/ng-package.json"
804+
},
805+
"configurations": {
806+
"production": {
807+
"tsConfig": "packages/spectre.css/tsconfig.lib.prod.json"
808+
},
809+
"development": {
810+
"tsConfig": "packages/spectre.css/tsconfig.lib.json"
811+
}
812+
},
813+
"defaultConfiguration": "production"
814+
},
815+
"test": {
816+
"builder": "@angular-devkit/build-angular:karma",
817+
"options": {
818+
"main": "packages/spectre.css/src/test.ts",
819+
"tsConfig": "packages/spectre.css/tsconfig.spec.json",
820+
"karmaConfig": "packages/spectre.css/karma.conf.js"
821+
}
822+
}
823+
}
790824
}
791825
},
792-
"defaultProject": "type"
826+
"cli": {
827+
"analytics": "de2b095f-ff7d-41dc-a0d4-4b221dc0262d"
828+
}
793829
}

0 commit comments

Comments
 (0)