-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
54 lines (54 loc) · 1.48 KB
/
package.json
File metadata and controls
54 lines (54 loc) · 1.48 KB
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
{
"name": "triggy",
"version": "1.0.3",
"description": "A webpack plugin for lazy loading JavaScript and CSS resources on user interaction",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"README.md"
],
"scripts": {
"build": "tsc && npm run build:lazy-loader",
"build:lazy-loader": "node scripts/minify-lazy-loader.js",
"build:dev": "tsc && cp src/lazy-loader.js dist/lazy-loader.js",
"prepublishOnly": "npm run build",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"lint": "eslint src/**/*.ts tests/**/*.ts",
"lint:fix": "eslint src/**/*.ts tests/**/*.ts --fix",
"audit": "npm audit",
"ci": "npm ci && npm run build && npm test && npm run test:coverage"
},
"keywords": [
"webpack",
"plugin",
"lazy-loading",
"performance",
"javascript",
"css"
],
"author": "Jameer Khan",
"license": "MIT",
"devDependencies": {
"@types/jest": "^29.0.0",
"@types/node": "^20.0.0",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"eslint": "^8.0.0",
"jest": "^29.0.0",
"terser": "^5.44.0",
"ts-jest": "^29.0.0",
"typescript": "^5.0.0",
"webpack": "^5.0.0"
},
"peerDependencies": {
"webpack": "^4.0.0 || ^5.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/stackblogger/triggy.git"
},
"homepage": "https://github.com/stackblogger/triggy#readme"
}