-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
120 lines (120 loc) · 3.49 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
{
"name": "@k-ramel/workspace",
"private": true,
"version": "0.1.0",
"main": "index.js",
"author": "Fabien JUIF <[email protected]>",
"license": "MIT",
"scripts": {
"lerna:build": "lerna exec --parallel --scope @k-ramel/* --scope k-ramel -- yarn cross-env BABEL_CONFIG=${PWD}/babel.config.js NODE_ENV=build rollup -c ${PWD}/misc/rollup.config.js",
"build:es": "cross-env FORMAT=es yarn lerna:build",
"build:umd": "cross-env FORMAT=umd yarn lerna:build",
"build": "npm-run-all --parallel build:*",
"lint": "eslint . --ext js,jsx --ignore-pattern dist/ --ignore-pattern coverage/ --ignore-pattern node_modules/ --ignore-pattern misc/ --ignore-pattern public/ --ignore-pattern build/",
"test": "jest",
"coveralls": "jest --projects --coverage && cat ./coverage/lcov.info | coveralls",
"ci": "npm-run-all --parallel lint coveralls"
},
"workspaces": [
"packages/k-ramel",
"packages/drivers/*",
"packages/connectors/*",
"examples/*"
],
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.8.4",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/preset-env": "^7.8.4",
"@babel/preset-react": "^7.8.3",
"babel-eslint": "^10.0.3",
"babel-jest": "^25.1.0",
"coveralls": "3.0.9",
"cross-env": "7.0.0",
"enzyme": "3.11.0",
"enzyme-adapter-react-16": "1.15.2",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-import": "^2.20.0",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.18.0",
"eslint-plugin-react-hooks": "^2.3.0",
"jest": "25.1.0",
"jest-environment-jsdom": "^25.1.0",
"jest-environment-jsdom-global": "^1.2.0",
"lerna": "3.20.2",
"npm-run-all": "4.1.5",
"react": "16.12.0",
"react-dom": "16.12.0",
"regenerator-runtime": "^0.13.3",
"rollup": "1.31.0",
"rollup-plugin-babel": "4.3.3",
"rollup-plugin-commonjs": "10.1.0",
"rollup-plugin-copy": "^3.3.0",
"rollup-plugin-sourcemaps": "^0.5.0",
"rollup-plugin-terser": "^3.0.0",
"rollup-plugin-uglify": "6.0.4"
},
"eslintConfig": {
"parser": "babel-eslint",
"extends": [
"airbnb"
],
"plugins": [
"babel"
],
"globals": {
"fetch": false
},
"env": {
"browser": true
},
"rules": {
"import/no-extraneous-dependencies": "off",
"import/prefer-default-export": "off",
"jsx-a11y/label-has-for": "off",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/no-noninteractive-element-interactions": "off",
"jsx-a11y/no-autofocus": "off",
"jsx-a11y/anchor-is-valid": "off",
"jsx-a11y/label-has-associated-control": "off",
"jsx-a11y/no-static-element-interactions": "off",
"react/forbid-prop-types": "off",
"react/jsx-props-no-spreading": "off",
"operator-linebreak": "off",
"max-len": [
2,
200
],
"semi": [
2,
"never"
],
"arrow-parens": [
"error",
"as-needed",
{
"requireForBlockBody": true
}
]
}
},
"jest": {
"testEnvironment": "jest-environment-jsdom-global",
"coveragePathIgnorePatterns": [
"/node_modules/",
"/dist/",
"/misc/",
"/build/"
],
"setupFiles": [
"./misc/testSetup.js"
],
"testURL": "http://test.k-ramel.com"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
}
}