-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
136 lines (136 loc) · 3.81 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
"name": "@thisissoon/angular-timesince",
"private": false,
"version": "2.1.0",
"description": "A simple lightweight library for Angular which returns the number of seconds, minutes, days, months or years since any Date object based on the current system time",
"keywords": [
"angular",
"pipe",
"time since",
"time ago",
"date",
"seconds",
"minutes",
"hours",
"days",
"months ago",
"years ago",
"ngx-timesince",
"ngx-time-since"
],
"author": "SOON_ <[email protected]>",
"contributors": [
"Ed Opare-Aryee <[email protected]>"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/thisissoon/angular-timesince"
},
"engines": {
"node": ">= 8.9.0",
"npm": ">= 5.6.0"
},
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "npm run stylelint && npm run nglint && npm run prettier",
"lint:fix": "npm run stylelint -- --fix && npm run nglint -- --fix && npm run prettier -- --write",
"e2e": "ng e2e",
"coverage": "coveralls < coverage/lcov.info",
"nglint": "ng lint",
"stylelint": "stylelint --syntax scss \"src/**/*.{css,scss}\"",
"prettier": "prettier --config .prettierrc -l \"src/**/*.{ts,js,json,css,scss}\"",
"packagr": "ng-packagr -p package.json",
"precommit": "npm run format:fix:staged && npm run lint",
"release": "standard-version",
"postrelease": "npm run packagr"
},
"peerDependencies": {
"@angular/core": ">=5.0.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.13.0",
"@angular/animations": "^7.2.4",
"@angular/cli": "^7.3.0",
"@angular/common": "^7.2.4",
"@angular/compiler": "^7.2.4",
"@angular/compiler-cli": "^7.2.4",
"@angular/core": "^7.2.4",
"@angular/forms": "^7.2.4",
"@angular/http": "^7.2.4",
"@angular/language-service": "^7.2.4",
"@angular/platform-browser": "^7.2.4",
"@angular/platform-browser-dynamic": "^7.2.4",
"@angular/router": "^7.2.4",
"@thisissoon/schematics": "^1.0.0-alpha.18",
"@types/jasmine": "~3.3.8",
"@types/jasminewd2": "~2.0.2",
"@types/node": "~10.12.21",
"codelyzer": "^4.5.0",
"core-js": "^2.6.3",
"coveralls": "^3.0.2",
"cz-conventional-changelog": "^2.1.0",
"husky": "^1.3.1",
"jasmine-core": "~3.3.0",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~4.0.0",
"karma-chrome-launcher": "~2.2.0",
"karma-cli": "~2.0.0",
"karma-coverage-istanbul-reporter": "^2.0.4",
"karma-jasmine": "~2.0.1",
"karma-jasmine-html-reporter": "^1.4.0",
"karma-mocha-reporter": "^2.2.5",
"lint-staged": "^8.1.3",
"ng-packagr": "^4.7.0",
"prettier": "^1.16.4",
"protractor": "^5.4.2",
"rxjs": "^6.4.0",
"standard-version": "^4.4.0",
"stylelint": "^9.10.1",
"stylelint-config-prettier": "^4.0.0",
"stylelint-config-recommended-scss": "^3.2.0",
"stylelint-config-standard": "^18.2.0",
"stylelint-order": "^2.0.0",
"stylelint-scss": "^3.5.2",
"ts-node": "~8.0.2",
"tslib": "^1.9.3",
"tsickle": "^0.34.3",
"tslint": "~5.12.1",
"tslint-config-prettier": "^1.18.0",
"typescript": "~3.2.4",
"zone.js": "^0.8.26"
},
"ngPackage": {
"$schema": "./node_modules/ng-packagr/ng-package.schema.json",
"lib": {
"entryFile": "src/index.ts"
}
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.ts": [
"tslint --fix",
"git add"
],
"src/**/*.{css,scss}": [
"stylelint --syntax scss --fix",
"git add"
],
"src/**/*.{ts,js,json,css,scss}": [
"prettier --config .prettierrc --write",
"git add"
]
}
}