Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
69 lines (69 loc) · 1.79 KB
/
Copy pathpackage.json
File metadata and controls
69 lines (69 loc) · 1.79 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
{
"name": "@guardian/commercial-core",
"version": "35.1.2",
"description": "Guardian advertising business logic",
"homepage": "https://github.com/guardian/commercial#readme",
"bugs": {
"url": "https://github.com/guardian/commercial/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/guardian/commercial.git",
"directory": "core"
},
"license": "Apache-2.0",
"files": [
"dist"
],
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"type": "module",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"workspace": "./src/index.ts"
},
"./*": {
"import": "./dist/esm/*.js",
"require": "./dist/cjs/*.js",
"workspace": "./src/*.ts"
},
"./package.json": "./package.json"
},
"scripts": {
"build": "pnpm run --parallel --aggregate-output /^build:.*/",
"clean": "rm -rf dist",
"build:esm": "tsc --outDir ./dist/esm --project ./tsconfig.esm.json && tsc-alias --project ./tsconfig.esm.json",
"build:cjs": "tsc --outDir ./dist/cjs --project ./tsconfig.cjs.json",
"lint": "eslint .",
"prettier:check": "prettier . --check --cache",
"prettier:fix": "prettier . --write --cache",
"test": "jest",
"test-cov": "jest --coverage",
"tsc": "tsc --noEmit"
},
"peerDependencies": {
"@guardian/libs": "^33.0.0",
"@guardian/consent-manager": "^2.0.0"
},
"dependencies": {
"@guardian/libs": "33.0.0",
"@guardian/consent-manager": "2.4.0"
},
"devDependencies": {
"@guardian/ophan-tracker-js": "5.4.0",
"@types/jest": "30.0.0",
"@types/node": "26.6.6",
"jest": "30.5.2",
"jest-environment-jsdom": "30.5.2",
"jest-environment-jsdom-global": "4.0.0",
"ts-jest": "29.4.15",
"tsc-alias": "1.9.10",
"type-fest": "5.10.0",
"typescript": "6.0.3"
},
"publishConfig": {
"access": "public"
}
}