Skip to content

Commit

Permalink
fix: use pnpm and keep the package.json original format
Browse files Browse the repository at this point in the history
  • Loading branch information
floross committed Aug 17, 2022
1 parent 24b3852 commit c5c1d94
Show file tree
Hide file tree
Showing 2 changed files with 1,646 additions and 1,197 deletions.
102 changes: 51 additions & 51 deletions packages/casl-angular/package.json
Original file line number Diff line number Diff line change
@@ -1,77 +1,77 @@
{
"author": "Sergii Stotskyi <[email protected]>",
"name": "@casl/angular",
"version": "7.0.1",
"description": "Angular module for CASL which makes it easy to add permissions in any Angular app",
"devDependencies": {
"@abraham/reflection": "^0.10.0",
"@angular-devkit/build-angular": "^14.0.0",
"@angular/common": "^14.0.0",
"@angular/compiler": "^14.0.0",
"@angular/compiler-cli": "^14.0.0",
"@angular/core": "^14.0.0",
"@angular/platform-browser": "^14.0.0",
"@angular/platform-browser-dynamic": "^14.0.0",
"@casl/ability": "^6.0.0",
"@casl/dx": "workspace:^1.0.0",
"@types/jest": "^28.0.0",
"jest": "^28.0.0",
"jest-preset-angular": "^12.0.0",
"rxjs": "^7.5.5",
"tslib": "^2.0.0",
"typescript": "~4.7.3",
"zone.js": "~0.11.4"
},
"main": "dist/umd/index.js",
"module": "dist/es5m/index.js",
"es2015": "dist/es6m/index.mjs",
"typings": "dist/types/index.d.ts",
"exports": {
".": {
"import": "./dist/es6m/index.mjs",
"require": "./dist/umd/index.js"
}
},
"files": [
"dist",
"*.d.ts"
],
"repository": {
"type": "git",
"url": "https://github.com/stalniy/casl.git",
"directory": "packages/casl-angular"
},
"homepage": "https://casl.js.org",
"publishConfig": {
"access": "public"
},
"scripts": {
"prebuild": "rm -rf dist/*",
"build": "npm run build.types && npm run build.es5m && npm run build.es6 && npm run build.umd",
"build.es5m": "TARGET=es5 BUILD=es5m npm run rollup",
"build.es6": "TARGET=es2015 BUILD=es6m npm run rollup",
"build.umd": "TARGET=es5 BUILD=umd npm run rollup",
"build.types": "ngc -p tsconfig.types.json && rm -rf dist/types/*.js",
"prerollup": "ngc -p tsconfig.build.json --target $TARGET --outDir dist/$BUILD/tmp",
"rollup": "IGNORE_SUBPATH=1 LIB_MINIFY=false BUILD_TYPES=$BUILD ES_TRANSFORM=false dx rollup -i dist/$BUILD/tmp/index.js -n casl.ng -g @angular/core:ng.core,@casl/ability:casl,tslib:tslib,rxjs:rxjs",
"postrollup": "rm -rf dist/$BUILD/tmp",
"test": "dx jest --config ./jest.config.js",
"lint": "dx eslint src/ spec/",
"prerelease": "npm run lint && NODE_ENV=production npm run build && npm test",
"release": "dx semantic-release"
},
"keywords": [
"casl",
"angular",
"authorization",
"acl",
"permissions"
],
"author": "Sergii Stotskyi <[email protected]>",
"license": "MIT",
"main": "dist/umd/index.js",
"module": "dist/es5m/index.js",
"name": "@casl/angular",
"peerDependencies": {
"@angular/core": "^13.0.0 || ^14.0.0",
"@casl/ability": "^3.0.0 || ^4.0.0 || ^5.1.0 || ^6.0.0",
"rxjs": "^7.5.5",
"tslib": "^2.0.0"
},
"publishConfig": {
"access": "public"
},
"repository": {
"directory": "packages/casl-angular",
"type": "git",
"url": "https://github.com/stalniy/casl.git"
},
"scripts": {
"build": "npm run build.types && npm run build.es5m && npm run build.es6 && npm run build.umd",
"build.es5m": "TARGET=es5 BUILD=es5m npm run rollup",
"build.es6": "TARGET=es2015 BUILD=es6m npm run rollup",
"build.types": "ngc -p tsconfig.types.json && rm -rf dist/types/*.js",
"build.umd": "TARGET=es5 BUILD=umd npm run rollup",
"lint": "dx eslint src/ spec/",
"postrollup": "rm -rf dist/$BUILD/tmp",
"prebuild": "rm -rf dist/*",
"prerelease": "npm run lint && NODE_ENV=production npm run build && npm test",
"prerollup": "ngc -p tsconfig.build.json --target $TARGET --outDir dist/$BUILD/tmp",
"release": "dx semantic-release",
"rollup": "IGNORE_SUBPATH=1 LIB_MINIFY=false BUILD_TYPES=$BUILD ES_TRANSFORM=false dx rollup -i dist/$BUILD/tmp/index.js -n casl.ng -g @angular/core:ng.core,@casl/ability:casl,tslib:tslib,rxjs:rxjs",
"test": "dx jest --config ./jest.config.js"
"devDependencies": {
"@abraham/reflection": "^0.10.0",
"@angular/common": "^14.0.0",
"@angular/compiler": "^14.0.0",
"@angular/compiler-cli": "^14.0.0",
"@angular/core": "^14.0.0",
"@angular/platform-browser": "^14.0.0",
"@angular/platform-browser-dynamic": "^14.0.0",
"@angular-devkit/build-angular": "^14.0.0",
"jest": "^28.0.0",
"@casl/ability": "^6.0.0",
"@casl/dx": "workspace:^1.0.0",
"@types/jest": "^28.0.0",
"jest-preset-angular": "^12.0.0",
"rxjs": "^7.5.5",
"tslib": "^2.0.0",
"typescript": "~4.7.4",
"zone.js": "~0.11.4"
},
"typings": "dist/types/index.d.ts",
"version": "7.0.1"
"files": [
"dist",
"*.d.ts"
]
}
Loading

0 comments on commit c5c1d94

Please sign in to comment.