-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·112 lines (112 loc) · 3.6 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
{
"name": "scroll-tracker-component-manager",
"version": "2.2.14",
"description": "Javascript scrollManager for detecting when components are in/out view based on scroll position",
"main": "./index.js",
"types": "./index.d.ts",
"scripts": {
"prepublishOnly": "npm-run-all -s validate build",
"validate": "npm-run-all -p lint test",
"dev": "npm-run-all -p dev:*",
"dev:babel": "babel ./src -x \".ts\" --out-dir ./ --watch",
"dev:ts": "tsc --noEmit --allowJs --watch",
"build": "npm-run-all -s clean build:*",
"build:babel": "babel ./src -x \".ts\" -x \".js\" --out-dir ./",
"build:ts": "tsc -p ./tsconfig.build.json && shx cp -Rf decl/* .",
"test": "cross-env NODE_ENV=test nyc --all mocha \"./test/**/*.spec.{ts,js}\"",
"test:dev": "mocha -w --watch-extensions ts,js \"./test/**/*.spec.{ts,js}\"",
"clean": "npm-run-all clean:*",
"clean:test": "shx rm -rf coverage .nyc_output",
"clean:npm": "shx rm -rf lib tmp index.js",
"doc": "npm-run-all -p doc:*",
"doc:typedoc": "typedoc --out docs/ src/ --mode file",
"lint": "npm-run-all lint:*",
"lint:js": "eslint src --ext .js --cache",
"lint:ts": "tslint src/**/*.ts -c tslint.json -p tsconfig.json -t verbose",
"prettify": "prettier --write \"src/**/*.{js,ts,json}\"",
"precommit": "lint-staged"
},
"lint-staged": {
"linters": {
"src/**/*.{js,ts,json}": [
"prettier --write",
"git add"
],
"src/**/*.js": [
"npm run lint:js"
],
"src/**/*.ts": [
"npm run lint:ts"
]
}
},
"pre-push": [
"validate"
],
"author": "Ricco Arntz <[email protected]> (https://github.com/riccomediamonks)",
"homepage": "https://www.mediamonks.com/",
"license": "MIT",
"keywords": [
"seng",
"mediamonks",
"boilerplate",
"scroll-tracker-component-manager"
],
"bugs": {
"url": "https://github.com/riccomediamonks/scroll-tracker-component-manager/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/riccomediamonks/scroll-tracker-component-manager.git"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.3.3",
"@babel/plugin-proposal-class-properties": "^7.3.3",
"@babel/plugin-proposal-object-rest-spread": "^7.3.2",
"@babel/plugin-transform-runtime": "^7.2.0",
"@babel/preset-env": "^7.3.1",
"@babel/preset-stage-3": "^7.0.0",
"@babel/preset-typescript": "^7.3.3",
"@babel/register": "^7.0.0",
"@types/chai": "^4.0.10",
"@types/mocha": "^2.2.44",
"@types/sinon": "^4.1.2",
"@types/sinon-chai": "^2.7.29",
"babel-eslint": "^8.0.3",
"babel-plugin-istanbul": "^5.1.1",
"chai": "^4.1.2",
"coveralls": "^3.0.2",
"cross-env": "^5.1.1",
"eslint": "^4.13.1",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-config-prettier": "^2.9.0",
"eslint-friendly-formatter": "^3.0.0",
"eslint-import-resolver-typescript": "^1.0.2",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-prettier": "^2.4.0",
"husky": "^0.14.3",
"jsdom": "^13.2.0",
"jsdom-global": "^3.0.2",
"lint-staged": "^6.0.0",
"mocha": "^4.0.1",
"npm-run-all": "^4.1.2",
"nyc": "^13.3.0",
"prettier": "^1.9.2",
"shx": "^0.2.2",
"sinon": "^4.1.3",
"sinon-chai": "^2.14.0",
"tslint": "^5.8.0",
"tslint-config-airbnb": "^5.4.2",
"tslint-config-prettier": "^1.6.0",
"typedoc": "^0.9.0",
"typescript": "^3.6.4"
},
"dependencies": {
"@babel/runtime": "^7.3.1",
"element-size": "^1.1.1",
"lodash": "^4.17.10",
"seng-scroll-tracker": "^2.0.0",
"smooth-scrollbar": "^8.3.1"
}
}