-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
executable file
·119 lines (119 loc) · 3.45 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
{
"name": "@mediamonks/task-loader",
"version": "0.2.1",
"description": "Load assets like a boss",
"main": "./index.js",
"types": "./index.d.ts",
"publishConfig": {
"access": "public"
},
"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",
"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": "frontend.monks",
"homepage": "https://github.com/mediamonks/task-loader",
"license": "MIT",
"keywords": [
"seng",
"mediamonks",
"preloading",
"assets"
],
"bugs": {
"url": "https://github.com/mediamonks/task-loader/issues"
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]:mediamonks/task-loader.git"
},
"devDependencies": {
"@babel/cli": "^7.0.0-beta.35",
"@babel/core": "^7.0.0-beta.35",
"@babel/plugin-transform-runtime": "^7.0.0-beta.35",
"@babel/preset-env": "^7.0.0-beta.35",
"@babel/preset-stage-3": "^7.0.0-beta.35",
"@babel/preset-typescript": "^7.0.0-beta.35",
"@babel/register": "^7.0.0-beta.35",
"@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": "^4.1.5",
"chai": "^4.1.2",
"coveralls": "^2.11.6",
"cross-env": "^5.1.1",
"debug": "^3.2.6",
"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": "^11.5.1",
"jsdom-global": "^3.0.2",
"lint-staged": "^6.0.0",
"mocha": "^4.0.1",
"npm-run-all": "^4.1.2",
"nyc": "^11.3.0",
"prettier": "^1.9.2",
"shx": "^0.2.2",
"sinon": "^4.1.3",
"sinon-chai": "^2.14.0",
"tslint": "^5.11.0",
"tslint-config-airbnb": "^5.4.2",
"tslint-config-prettier": "^1.6.0",
"typedoc": "^0.9.0",
"typescript": "^4.9.5"
},
"dependencies": {
"@babel/runtime": "^7.0.0-beta.35",
"seng-disposable": "^1.1.3",
"seng-event": "^1.2.3",
"sha1": "^1.1.1"
},
"peerDependencies": {
"debug": "^3.2.6"
},
"volta": {
"node": "20.13.1"
}
}