-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 2.81 KB
/
Copy pathpackage.json
File metadata and controls
77 lines (77 loc) · 2.81 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
{
"name": "add-javascript",
"browserGlobalName": "addJs",
"version": "1.1.0",
"description": "Just add JavaScript. Includes validation, integrity checking, caching, and a cross-framework hook.",
"author": "Conan Theobald",
"license": "MIT",
"keywords": [
"javascript loader",
"script loader",
"module loader",
"in browser"
],
"types": "index.d.ts",
"main": "./dist/cjs/add-javascript.cjs.js",
"module": "dist/esm/add-javascript.esm.js",
"exports": {
".": {
"types": "./index.d.ts",
"import": "./dist/esm/add-javascript.esm.js",
"require": "./dist/cjs/add-javascript.cjs.js",
"default": "./dist/cjs/add-javascript.cjs.js"
},
"./package.json": "./package.json"
},
"files": [
"dist/**/*.js",
"dist/**/package.json",
"CHANGELOG.md",
"README.md",
"LICENSE",
"index.d.ts"
],
"engines": {
"node": ">=15"
},
"homepage": "https://github.com/shuckster/add-javascript",
"repository": {
"type": "git",
"url": "https://github.com/shuckster/add-javascript"
},
"bugs": {
"url": "https://github.com/shuckster/add-javascript/issues",
"email": "bugs+add-javascript@conans.co.uk"
},
"scripts": {
"lint": "biome check src/ tests/",
"format": "biome format --write src/ tests/",
"test": "pnpm run test:unit && pnpm run test:browser",
"test:unit": "node --test --test-concurrency=1 \"./tests/*.test.mjs\"",
"test:unit:coverage": "node --test --test-concurrency=1 --experimental-test-coverage --test-coverage-include='index.mjs' --test-coverage-include='src/**' --test-coverage-exclude='tests/**' --test-coverage-exclude='node_modules/**' \"./tests/*.test.mjs\"",
"test:browser": "node --test --test-concurrency=1 \"./tests/browser/**/test.mjs\"",
"test:exceptions": "node --test \"./tests/exceptions.test.mjs\"",
"test:exceptions:watch": "node --test --watch \"./tests/exceptions.test.mjs\"",
"build": "concurrently \"pnpm run build:esbuild\" \"pnpm run build:declaration\"",
"build:clean": "rimraf dist/ ; mkdir -p dist/{esm,cjs,browser}",
"build:all": "pnpm run build:clean ; pnpm run build",
"build:esbuild": "node ./build-config/esbuild.mjs",
"build:declaration": "node ./build-config/declaration.mjs",
"typecheck": "tsc --allowJs --checkJs --noEmit -p jsconfig.json"
},
"devDependencies": {
"@biomejs/biome": "^2.5.5",
"compose-paths": "^1.3.0",
"concurrently": "^10.0.3",
"esbuild": "^0.28.1",
"koa": "^3.2.1",
"koa-mount": "^4.2.0",
"koa-static": "^5.0.0",
"match-iz": "^5.1.1",
"puppeteer": "^25.3.0",
"rimraf": "^6.1.3",
"typescript": "^7.0.2",
"viddy": "^3.1.0"
},
"packageManager": "pnpm@9.12.1+sha512.e5a7e52a4183a02d5931057f7a0dbff9d5e9ce3161e33fa68ae392125b79282a8a8a470a51dfc8a0ed86221442eb2fb57019b0990ed24fab519bf0e1bc5ccfc4"
}