-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
105 lines (105 loc) · 2.97 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
103
104
105
{
"name": "@finn-no/cdn-uploader",
"version": "3.3.0",
"description": "Small tool for uploading assets to CDN backend (Google Cloud Storage)",
"main": "index.js",
"files": [
"index.js",
"lib/"
],
"scripts": {
"precreate-executable": "rimraf cdn-uploader-*",
"create-executable": "pkg --targets node18-linux-x64,node18-macos-x64,node18-win-x64 .",
"lint": "eslint .",
"lint:format": "eslint --fix .",
"test": "ava",
"build": "npm run lint && npm run test && npm run e2e-test && npm run create-executable && npm run e2e-test-executable",
"e2e-test": "./index.js -c ${CDN_UPLOADER_CREDENTIALS} -p ${CDN_UPLOADER_PROJECT} -b finn-cdn-uploader-e2e -a e2e-test test/content",
"e2e-test-executable": "./cdn-uploader-linux -c ${CDN_UPLOADER_CREDENTIALS} -p ${CDN_UPLOADER_PROJECT} -b finn-cdn-uploader-e2e -a e2e-test test/content"
},
"repository": "finn-no/cdn-uploader",
"keywords": [
"CDN",
"upload",
"assets"
],
"author": "FINN.no <npm@finn.no>",
"bin": "./index.js",
"license": "MIT",
"dependencies": {
"@google-cloud/storage": "7.7.0",
"@supercharge/promise-pool": "1.7.0",
"chalk": "4.1.1",
"fs-readdir-recursive": "1.1.0",
"text-table": "0.2.0",
"update-notifier": "5.1.0",
"yargs": "17.0.1"
},
"devDependencies": {
"ava": "^1.1.0",
"eslint": "7.28.0",
"eslint-config-airbnb-base": "14.2.1",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-ava": "12.0.0",
"eslint-plugin-import": "2.23.4",
"eslint-plugin-prettier": "3.4.0",
"fs-extra": "10.0.0",
"husky": "6.0.0",
"lint-staged": "11.0.0",
"pkg": "5.8.1",
"prettier": "2.3.1",
"rimraf": "3.0.2",
"sinon": "11.1.1"
},
"publishConfig": {
"access": "public",
"@finn-no:registry": "https://registry.npmjs.org/"
},
"archive": {
"binary": true,
"patterns": [
"index.js",
"lib/**",
"package.json"
]
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
],
"*.{md,json,yml}": [
"prettier --write",
"git add"
],
".{eslintrc,ytml}": [
"prettier --write",
"git add"
]
},
"prettier": {
"proseWrap": "always",
"singleQuote": true,
"tabWidth": 4,
"trailingComma": "es5",
"overrides": [
{
"files": ".eslintrc",
"options": {
"parser": "json"
}
},
{
"files": "**/*.md",
"options": {
"tabWidth": 1
}
}
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}