-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
102 lines (102 loc) · 3.61 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
{
"name": "@netlify/angular-runtime",
"version": "2.2.1",
"description": "Netlify Angular Runtime - Run Angular seamlessly on Netlify.",
"main": "src/index.js",
"files": [
"src/**/*.js",
"src/**/*.mjs",
"src/**/*.json",
"src/**/*.d.ts",
"manifest.yml"
],
"exports": {
"./package.json": {
"default": "./package.json"
},
".": {
"default": "./src/index.js"
},
"./common-engine": {
"types": "./src/common-engine.d.ts",
"default": "./src/common-engine.mjs"
},
"./context": {
"types": "./src/context.d.ts",
"default": "./src/context.mjs"
}
},
"scripts": {
"format": "run-s format:check-fix:*",
"format:ci": "run-s format:check:*",
"format:check-fix:lint": "run-e format:check:lint format:fix:lint",
"format:check:lint": "cross-env-shell eslint $npm_package_config_eslint",
"format:fix:lint": "cross-env-shell eslint --fix $npm_package_config_eslint",
"format:check-fix:prettier": "run-e format:check:prettier format:fix:prettier",
"format:check:prettier": "cross-env-shell prettier --check $npm_package_config_prettier",
"format:fix:prettier": "cross-env-shell prettier --write $npm_package_config_prettier",
"prepublishOnly": "npm ci && npm test",
"pretest:demo": "cd demo && npm ci && netlify build --cwd . --offline",
"pretest:fixtures": "run-s pretest:fixtures:*",
"pretest:fixtures:non-angular-project": "cd tests/fixtures/non-angular-project && npm ci",
"pretest:fixtures:missing-angular-deps": "cd tests/fixtures/missing-angular-deps && npm ci",
"pretest:fixtures:application-builder": "cd tests/fixtures/application-builder && npm ci",
"pretest:fixtures:browser-builder": "cd tests/fixtures/browser-builder && npm ci",
"pretest:fixtures:prerender-false": "cd tests/fixtures/prerender-false && npm ci",
"pretest:fixtures:angular-17": "cd tests/fixtures/angular-17 && npm ci",
"pretest:fixtures:angular-19-common-engine": "cd tests/fixtures/angular-19-common-engine && npm ci",
"pretest:fixtures:angular-19-app-engine": "cd tests/fixtures/angular-19-app-engine && npm ci",
"pretest:fixtures:angular-19-prerender-false": "cd tests/fixtures/angular-19-prerender-false && npm ci",
"pretest": "run-s pretest:*",
"test": "node --test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/netlify/angular-runtime.git"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/netlify/angular-runtime/issues"
},
"homepage": "https://github.com/netlify/angular-runtime#readme",
"keywords": [
"netlify-plugin",
"netlify",
"angular"
],
"config": {
"eslint": "--cache --format=codeframe --max-warnings=0 \"{src,scripts,tests,.github}/**/*.{js,md,html}\" \"*.{js,md,html}\" \".*.{js,md,html}\"",
"prettier": "--loglevel=warn \"{src,scripts,tests,.github}/**/*.{js,md,yml,json,html}\" \"*.{js,yml,json,html}\" \".*.{js,yml,json,html}\" \"!package-lock.json\""
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-push": "npm run format"
}
},
"engines": {
"node": ">=18.13.0"
},
"devDependencies": {
"@opentelemetry/api": "~1.8.0",
"@netlify/eslint-config-node": "^7.0.1",
"@types/node": "^18.19.0",
"eslint-plugin-unicorn": "^49.0.0",
"husky": "^4.3.0",
"netlify-cli": "^17.38.0",
"@netlify/build": "^29.56.1",
"npm-run-all2": "^6.0.0",
"prettier": "^2.1.2"
},
"dependencies": {
"fs-extra": "^11.1.1",
"semver": "^7.5.4"
},
"jest": {
"testMatch": [
"**/test/**/*.js"
],
"verbose": true,
"testTimeout": 60000
}
}