forked from contentful/extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
61 lines (61 loc) · 1.68 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
{
"private": true,
"license": "UNLICENSED",
"devDependencies": {
"@contentful/eslint-config-extension": "0.2.0",
"babel-eslint": "10.0.1",
"commander": "^2.20.0",
"cpy": "^7.2.0",
"eslint": "6.0.1",
"eslint-plugin-jest": "^22.7.2",
"eslint-plugin-node": "9.1.0",
"fs-extra": "8.1.0",
"globby": "^10.0.1",
"husky": "^3.0.0",
"jest": "^24.8.0",
"jest-json-schema": "^2.0.2",
"jest-matcher-utils": "^24.8.0",
"lerna": "^3.15.0",
"lint-staged": "^9.0.1",
"make-dir": "^2.1.0",
"prettier": "^1.18.2",
"rimraf": "^2.6.3"
},
"scripts": {
"clean": "rimraf ./dist",
"bootstrap": "lerna bootstrap",
"prettier": "prettier marketplace/**/*.{js,jsx,ts,tsx} scripts/**/*.js --write --ignore-path .gitignore",
"prettier-check": "prettier marketplace/**/*.{js,jsx,ts,tsx} scripts/**/*.js --check --ignore-path .gitignore",
"build": "lerna run build --stream --concurrency 2 -- -- --no-inline && node ./scripts/build.js",
"lint": "eslint marketplace scripts --ext .js,.ts,.tsx --ignore-path .gitignore",
"tsc": "lerna run tsc --stream",
"test": "lerna run test --concurrency 2",
"test:integration": "jest --rootDir ./test './test/.*.js$'"
},
"engines": {
"node": ">=10.15.0"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"prettier --write --ignore-path .gitignore",
"eslint --fix --ignore-path .gitignore",
"git add"
],
"*.md": [
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"name": "extensions",
"jest": {
"setupFilesAfterEnv": [
"./setup.js"
],
"testEnvironment": "node"
}
}