forked from commercetools/nodejs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
134 lines (134 loc) · 4.26 KB
/
package.json
File metadata and controls
134 lines (134 loc) · 4.26 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
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
{
"private": true,
"license": "MIT",
"engines": {
"node": ">=4",
"npm": ">=2"
},
"scripts": {
"postinstall": "check-node-version --package && lerna bootstrap && npm run build",
"check-updates": "./scripts/check-updates",
"clean": "rm -rf coverage; lerna exec -- rimraf lib dist",
"commit": "git-cz",
"build": "lerna exec -- babel src --out-dir lib",
"dist": "lerna run dist",
"lint": "flow check && ./scripts/lint packages",
"test": "npm run build && jest --config test-config.json",
"test:package": "npm run build && ./scripts/test-package",
"it": "npm run it:install && npm run it:run",
"it:run": "jest --config integration-tests/config.json",
"it:install": "npm run build && ./scripts/install-npm-packages-for-integration-tests",
"coverage": "npm run build && jest --config test-config.json --no-watchman --coverage",
"coverage:ci": "jest --config test-config.json --no-watchman --coverage && codecov",
"semantic-release": "lerna-semantic-release pre && lerna-semantic-release post && lerna-semantic-release perform",
"manual-release": "./scripts/publish-manually",
"docs:clean": "rimraf _book",
"docs:prepare": "gitbook install",
"docs:build": "npm run docs:prepare && gitbook build && cp logo/apple-touch-icon.png _book/gitbook/images/apple-touch-icon-precomposed-152.png && cp logo/favicon.ico _book/gitbook/images",
"docs:watch": "npm run docs:prepare && gitbook serve",
"docs:publish": "npm run docs:clean && npm run docs:build && ./scripts/publish-docs",
"package-readme-entry": "./scripts/package-readme-entry.sh",
"commitmsg": "validate-commit-msg",
"precommit": "./scripts/lint-staged-files"
},
"devDependencies": {
"babel-cli": "6.24.1",
"babel-core": "6.25.0",
"babel-eslint": "7.2.3",
"babel-jest": "20.0.3",
"babel-loader": "7.1.1",
"babel-plugin-array-includes": "2.0.3",
"babel-plugin-module-resolver": "2.7.1",
"babel-plugin-transform-export-extensions": "6.22.0",
"babel-plugin-transform-flow-strip-types": "6.22.0",
"babel-plugin-transform-object-rest-spread": "6.23.0",
"babel-preset-env": "1.6.0",
"check-node-version": "2.1.0",
"codecov": "2.3.0",
"commitizen": "2.9.6",
"common-tags": "^1.4.0",
"cross-env": "5.0.3",
"cz-lerna-changelog": "1.2.1",
"eslint": "3.19.0",
"eslint-config-airbnb": "15.0.1",
"eslint-config-commercetools": "6.0.0",
"eslint-formatter-pretty": "1.1.0",
"eslint-import-resolver-babel-module": "3.0.0",
"eslint-plugin-flowtype": "2.35.0",
"eslint-plugin-import": "2.3.0",
"eslint-plugin-jsx-a11y": "5.1.0",
"eslint-plugin-react": "7.1.0",
"flow-bin": "0.52.0",
"gitbook-cli": "2.3.2",
"gitbook-plugin-anchorjs": "^1.1.1",
"gitbook-plugin-edit-link": "^2.0.2",
"gitbook-plugin-ga": "^1.0.1",
"gitbook-plugin-github": "^2.0.0",
"gitbook-plugin-prism": "^2.2.0",
"husky": "0.14.0",
"jest": "20.0.4",
"lerna": "2.0.0",
"lerna-semantic-release": "9.1.0",
"npm-check-updates": "2.11.3",
"npm-run-all": "4.0.2",
"rimraf": "2.6.1",
"streamtest": "1.2.2",
"validate-commit-msg": "2.14.0",
"webpack": "3.4.1"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-lerna-changelog"
}
},
"eslintConfig": {
"extends": "commercetools",
"plugins": [
"flowtype"
],
"env": {
"es6": true,
"jest": true,
"node": true
},
"rules": {
"flowtype/define-flow-type": 1,
"flowtype/require-parameter-type": 1,
"flowtype/require-return-type": [
1,
"always",
{
"annotateUndefined": "never"
}
],
"flowtype/semi": 0,
"flowtype/space-after-type-colon": [
1,
"always"
],
"flowtype/space-before-type-colon": [
1,
"never"
],
"flowtype/type-id-match": 0,
"flowtype/use-flow-type": 1,
"flowtype/valid-syntax": 1,
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": [
"**/test/**/*.js"
]
}
]
},
"settings": {
"flowtype": {
"onlyFilesWithFlowAnnotation": true
},
"import/resolver": {
"babel-module": {}
}
}
}
}