-
Notifications
You must be signed in to change notification settings - Fork 30
/
package.json
152 lines (152 loc) · 4.19 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
{
"name": "@serverless/enterprise-plugin",
"version": "3.1.2",
"engines": {
"node": ">=6.0"
},
"description": "The Serverless Enterprise plugin",
"scripts": {
"build": "./scripts/build.sh",
"cover": "nyc npm test",
"integration-test": "mocha-isolated --pass-through-aws-creds --skip-fs-cleanup-check \"integration-testing/**/*.test.js\"",
"lint": "eslint --cache .",
"lint:staged": "lint-staged",
"lint:updated": "pipe-git-updated --ext=js -- eslint --cache",
"prettier-check": "prettier -c --ignore-path .eslintignore \"**/*.{css,html,js,json,md,yaml,yml}\"",
"prettier-check:updated": "pipe-git-updated --ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier -c --ignore-path .eslintignore",
"prettify": "prettier --write --ignore-path .eslintignore \"**/*.{css,html,js,json,md,yaml,yml}\"",
"prettify:updated": "pipe-git-updated --ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier --write --ignore-path .eslintignore",
"test": "mocha \"!(node_modules|integration-testing|dist|sdk-js)/**/*.test.js\" \"*.test.js\"",
"test-isolated": "mocha-isolated \"!(node_modules|integration-testing|dist|sdk-js)/**/*.test.js\" \"*.test.js\"",
"uglify": "./node_modules/uglify-es/bin/uglifyjs dist/index.js --output dist/index.js --beautify",
"webpack": "webpack"
},
"dependencies": {
"@serverless/event-mocks": "^1.1.1",
"@serverless/platform-sdk": "^2.0.3",
"chalk": "^2.4.2",
"flat": "^4.1.0",
"fs-extra": "^7.0.1",
"iso8601-duration": "^1.1.7",
"isomorphic-fetch": "^2.2.1",
"js-yaml": "^3.13.1",
"jsonata": "^1.6.4",
"jszip": "^3.2.1",
"lodash": "^4.17.11",
"moment": "^2.24.0",
"node-dir": "^0.1.17",
"node-fetch": "^2.3.0",
"regenerator-runtime": "^0.13.1",
"semver": "^5.6.0",
"simple-git": "^1.118.0",
"source-map-support": "^0.5.12",
"update-notifier": "^2.5.0",
"uuid": "^3.3.2",
"yamljs": "^0.3.0"
},
"devDependencies": {
"@babel/cli": "^7.6.4",
"@babel/core": "^7.6.4",
"@babel/preset-env": "^7.1.0",
"@babel/register": "^7.6.0",
"@serverless/eslint-config": "^1.0.1",
"@serverless/test": "^2.0.0",
"aws-sdk": "^2.503.0",
"chai": "^4.2.0",
"child-process-ext": "^2.0.0",
"eslint": "^6.0.1",
"eslint-plugin-import": "^2.14.0",
"git-list-updated": "^1.2.0",
"lint-staged": "^8.1.5",
"mocha": "^6.2.0",
"nyc": "^14.1.1",
"pre-commit": "^1.2.2",
"prettier": "^1.18.2",
"proxyquire": "^2.1.3",
"sinon": "^7.4.2",
"strip-ansi": "^5.2.0",
"tar": "^4.4.10"
},
"eslintConfig": {
"extends": "@serverless/eslint-config/node",
"root": true,
"parserOptions": {
"ecmaVersion": 2018
},
"rules": {
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": [
"**/*.test.js",
"**/scripts/**",
"**/test/**",
"**/integration-testing/**",
"prettier.config.js"
]
}
]
},
"overrides": [
{
"files": [
"integration-testing/**",
"test/**"
],
"rules": {
"no-console": [
"error",
{
"allow": [
"info"
]
}
]
}
}
]
},
"mocha": {
"reporter": "@serverless/test/setup/mocha-reporter",
"require": [
"@serverless/test/setup/async-leaks-detector",
"@serverless/test/setup/mock-homedir",
"@serverless/test/setup/restore-cwd",
"./test/map-mocha-globals"
],
"timeout": 5000
},
"nyc": {
"all": true,
"exclude": [
"**/*.test.js",
"coverage/**",
"dist/**",
"examples/**",
"integration-testing/**",
"node_modules/**",
"prettier.config.js",
"scripts/**",
"sdk-js/**",
"test/**"
],
"reporter": [
"lcov",
"html",
"text-summary"
]
},
"author": "",
"license": "Apache-2.0",
"lint-staged": {
"*.js": [
"eslint"
],
"*.{css,html,js,json,md,yaml,yml}": [
"prettier -c"
]
},
"pre-commit": [
"lint:staged"
]
}