-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
142 lines (142 loc) · 4.28 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
137
138
139
140
141
142
{
"name": "@thisissoon/angular-scroll-collapse",
"version": "4.1.0",
"private": false,
"description": "A simple lightweight library for Angular that detects scroll direction and adds a 'sn-scrolling-up' or 'sn-scrolling-down' class to the element. The library can also detect when the user has scrolled passed the element and apply a 'sn-affix' class. Useful for make a element sticky when the user has scrolled beyond it. This library can will also apply 'sn-minimise' class after the user has scrolled beyond the height of the element",
"keywords": [
"angular",
"directive",
"scroll",
"collapse",
"resize",
"affix",
"sticky",
"hide",
"minimise",
"navbar",
"nav",
"ngx-scroll-collapse",
"ngx-sticky",
"ngx-nav"
],
"author": "SOON_ <[email protected]>",
"contributors": [
"Ed Opare-Aryee <[email protected]>",
"Jack Matthews <[email protected]>"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/thisissoon/angular-scroll-collapse"
},
"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",
"nglint": "ng lint",
"stylelint": "stylelint --syntax scss \"src/**/*.{css,scss}\"",
"prettier": "prettier --config .prettierrc -l \"src/**/*.{ts,js,json,css,scss}\"",
"e2e": "ng e2e",
"coverage": "coveralls < coverage/lcov.info",
"packagr": "ng-packagr -p package.json",
"release": "standard-version",
"postrelease": "npm run packagr"
},
"peerDependencies": {
"@angular/core": ">=5.0.0 <8.0.0",
"@thisissoon/angular-inviewport": ">=4.0.0 <5.0.0",
"rxjs": ">=6.0.0 <7.0.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.10.0",
"@angular/animations": "^7.1.0",
"@angular/cli": "^7.0.6",
"@angular/common": "^7.1.0",
"@angular/compiler": "^7.1.0",
"@angular/compiler-cli": "^7.1.0",
"@angular/core": "^7.1.0",
"@angular/forms": "^7.1.0",
"@angular/http": "^7.1.0",
"@angular/language-service": "^7.1.0",
"@angular/platform-browser": "^7.1.0",
"@angular/platform-browser-dynamic": "^7.1.0",
"@angular/router": "^7.1.0",
"@thisissoon/angular-inviewport": "^4.1.0",
"@thisissoon/schematics": "^1.0.0-alpha.18",
"@types/jasmine": "~3.3.0",
"@types/jasminewd2": "~2.0.2",
"@types/node": "~10.12.10",
"codelyzer": "^4.5.0",
"core-js": "^2.5.7",
"coveralls": "^3.0.2",
"cz-conventional-changelog": "^2.1.0",
"husky": "^1.1.0",
"jasmine-core": "~3.3.0",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~3.1.1",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "^2.0.4",
"karma-jasmine": "~2.0.1",
"karma-jasmine-html-reporter": "^1.3.1",
"karma-mocha-reporter": "^2.2.5",
"lint-staged": "^8.1.0",
"ng-packagr": "^4.4.0",
"prettier": "^1.15.2",
"protractor": "~5.4.1",
"rxjs": "^6.2.0",
"standard-version": "^4.3.0",
"stylelint": "^9.8.0",
"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.3.1",
"ts-node": "~7.0.1",
"tsickle": "^0.34.0",
"tslib": "^1.9.3",
"tslint": "~5.11.0",
"tslint-config-prettier": "^1.15.0",
"typescript": "~3.1.6",
"zone.js": "^0.8.26"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"ngPackage": {
"$schema": "./node_modules/ng-packagr/ng-package.schema.json",
"lib": {
"entryFile": "src/index.ts",
"umdModuleIds": {
"@thisissoon/angular-inviewport": "angularInviewport"
}
}
},
"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"
]
}
}