Skip to content

Commit c5b1143

Browse files
committed
rename scripts in package.json
1 parent 0efa512 commit c5b1143

File tree

3 files changed

+17
-13
lines changed

3 files changed

+17
-13
lines changed

LICENSE-THIRD-PARTY

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5609,8 +5609,8 @@
56095609
│ ├─ licenses: ISC
56105610
│ ├─ repository: https://github.com/alexeyraspopov/picocolors
56115611
│ ├─ publisher: Alexey Raspopov
5612-
│ ├─ path: /Users/qwefgh90/Documents/ng-terminal/node_modules/postcss-attribute-case-insensitive/node_modules/picocolors
5613-
│ └─ licenseFile: /Users/qwefgh90/Documents/ng-terminal/node_modules/postcss-attribute-case-insensitive/node_modules/picocolors/LICENSE
5612+
│ ├─ path: /Users/qwefgh90/Documents/ng-terminal/node_modules/postcss-color-functional-notation/node_modules/picocolors
5613+
│ └─ licenseFile: /Users/qwefgh90/Documents/ng-terminal/node_modules/postcss-color-functional-notation/node_modules/picocolors/LICENSE
56145614
├─ picocolors@1.0.0
56155615
│ ├─ licenses: ISC
56165616
│ ├─ repository: https://github.com/alexeyraspopov/picocolors
@@ -6180,8 +6180,8 @@
61806180
│ ├─ repository: https://github.com/postcss/postcss
61816181
│ ├─ publisher: Andrey Sitnik
61826182
│ ├─ email: andrey@sitnik.ru
6183-
│ ├─ path: /Users/qwefgh90/Documents/ng-terminal/node_modules/postcss-attribute-case-insensitive/node_modules/postcss
6184-
│ └─ licenseFile: /Users/qwefgh90/Documents/ng-terminal/node_modules/postcss-attribute-case-insensitive/node_modules/postcss/LICENSE
6183+
│ ├─ path: /Users/qwefgh90/Documents/ng-terminal/node_modules/postcss-color-functional-notation/node_modules/postcss
6184+
│ └─ licenseFile: /Users/qwefgh90/Documents/ng-terminal/node_modules/postcss-color-functional-notation/node_modules/postcss/LICENSE
61856185
├─ postcss@8.3.6
61866186
│ ├─ licenses: MIT
61876187
│ ├─ repository: https://github.com/postcss/postcss

package.json

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,21 @@
22
"name": "ng-terminal-workspace",
33
"version": "0.0.0",
44
"scripts": {
5-
"start": "npm run build && ng serve demo-v10",
5+
"prestart": "npm run build",
6+
"prepublish": "npm run lib:build:prod && npm run license",
7+
"prepage": "npm run lib:build",
8+
"prelocal": "npm run lib:build:prod",
9+
"start": "ng serve demo-v10",
610
"build": "npm run lib:build",
711
"test": "npm run lib:test",
8-
"page": "npm run lib:build && ng build demo-v10 --configuration production --output-path docs --base-href /ng-terminal/",
12+
"publish": "cd dist/ng-terminal && npm publish",
13+
"page": "ng build demo-v10 --configuration production --output-path docs --base-href /ng-terminal/",
14+
"local": "cd dist/ng-terminal && npm pack",
915
"lib:build": "ng build ng-terminal",
1016
"lib:test": "ng test ng-terminal",
1117
"lib:travis:test": "ng test ng-terminal --watch false --browsers ChromeHeadless",
12-
"lib:publish": "npm run lib:build:prod && cd dist/ng-terminal && npm publish",
1318
"lib:build:prod": "ng build ng-terminal --configuration production",
14-
"lib:local": "npm run lib:build:prod && cd dist && cd ng-terminal && npm pack",
15-
"add-licenses": "license-checker > LICENSE-THIRD-PARTY",
19+
"license": "license-checker > LICENSE-THIRD-PARTY",
1620
"e2e": "ng e2e"
1721
},
1822
"private": true,

projects/ng-terminal/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"name": "ng-terminal",
3-
"version": "5.0.0-beta",
3+
"version": "5.0.0-beta.2",
44
"description": "NgTerminal is a terminal component on Angular 11 or higher.",
55
"license": "MIT",
66
"peerDependencies": {
7-
"@angular/common": "^13.0.0 || ^12.0.0 || ^11.2.14 || ^10.0.0",
8-
"@angular/core": "^13.0.0 || ^12.0.0 || ^11.2.14 || ^10.0.0"
7+
"@angular/common": "^13.0.0 || ^12.0.0",
8+
"@angular/core": "^13.0.0 || ^12.0.0"
99
},
1010
"repository": {
1111
"type": "git",
@@ -25,13 +25,13 @@
2525
"angular",
2626
"angular13",
2727
"angular12",
28-
"angular11",
2928
"xterm",
3029
"terminal",
3130
"console",
3231
"shell",
3332
"bash",
3433
"library",
34+
"ivy",
3535
"ng-terminal"
3636
],
3737
"dependencies": {

0 commit comments

Comments
 (0)