-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathpackage.json
More file actions
82 lines (82 loc) · 1.96 KB
/
package.json
File metadata and controls
82 lines (82 loc) · 1.96 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
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
{
"name": "inline-source",
"description": "Inline all flagged js, css, image source files",
"version": "8.0.3",
"license": "MIT",
"author": "Alexander Pope <alex@pope.industries>",
"keywords": [
"inline",
"html",
"js",
"css",
"svg"
],
"type": "module",
"repository": "git://github.com/popeindustries/inline-source.git",
"main": "index.js",
"exports": {
"types": "./index.d.ts",
"import": "./index.js",
"require": "./index.cjs"
},
"dependencies": {
"csso": "^5.0.5",
"htmlparser2": "^9.0.0",
"node-fetch": "^3.3.2",
"svgo": "^3.0.0",
"terser": "^5.24.0"
},
"devDependencies": {
"@types/csso": "5.0.3",
"@types/mocha": "^10.0.4",
"@types/node": "^20.9.1",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.11.0",
"chai": "^4.3.10",
"esbuild": "^0.19.5",
"eslint": "^8.53.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.1",
"handlebars": "^4.7.8",
"husky": "^8.0.3",
"lint-staged": "^15.1.0",
"memory-fs": "*",
"mocha": "^10.2.0",
"nock": "^13.3.8",
"prettier": "^3.1.0",
"typescript": "^5.2.2"
},
"scripts": {
"build": "node ./scripts/build.js",
"clean": "git clean -x -f",
"format": "prettier --write './{src,test}/**/*.{js,json,css}'",
"lint": "pnpm run lint:eslint && pnpm run lint:typescript",
"lint:eslint": "eslint 'src/**/*.js'",
"lint:typescript": "tsc --noEmit --skipLibCheck",
"prepublishOnly": "pnpm run build",
"test": "NODE_ENV=test mocha --reporter spec --bail 'test/*-test.*js'"
},
"engines": {
"node": ">=16.0.0"
},
"lint-staged": {
"*.js": [
"eslint"
],
"*.{js,json,md}": [
"prettier --write"
]
},
"prettier": {
"arrowParens": "always",
"printWidth": 80,
"singleQuote": true,
"trailingComma": "all"
},
"files": [
"index.d.ts",
"index.cjs",
"index.js",
"README.MD"
]
}