-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
executable file
·121 lines (121 loc) · 2.9 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
{
"name": "react-amcharts4",
"version": "0.0.4",
"main": "./lib/index.js",
"engines": {
"node": ">=4.0.0"
},
"author": {
"name": "Abhishek Ramesh",
"email": "abhiisheek@hotmail.com"
},
"keywords": [
"amcharts4",
"react"
],
"files": [
"lib"
],
"private": true,
"peerDependencies": {
"@amcharts/amcharts4": "^4.0.0",
"react": "^16.0.0",
"react-dom": "^16.0.0"
},
"dependencies": {
"@amcharts/amcharts4": "^4.5.3",
"@babel/plugin-transform-runtime": "^7.5.0",
"react": "^16.5.0",
"react-dom": "^16.5.0"
},
"devDependencies": {
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.5",
"@babel/plugin-transform-classes": "^7.4.4",
"@babel/plugin-transform-modules-commonjs": "^7.4.4",
"@babel/preset-react": "^7.0.0",
"autoprefixer": "7.1.2",
"babel-jest": "^24.8.0",
"babel-jest-amcharts": "0.0.2",
"babel-preset-env": "^1.7.0",
"cross-env": "^5.2.0",
"dotenv": "4.0.0",
"enzyme": "^3.1.0",
"enzyme-adapter-react-16": "^1.0.1",
"fs-extra": "3.0.1",
"jest": "^24.8.0",
"npm-run-all": "^4.1.1",
"object-assign": "4.1.1",
"promise": "8.0.1",
"raf": "^3.4.0",
"rimraf": "^2.6.2",
"whatwg-fetch": "2.0.3"
},
"scripts": {
"build:commonjs": "cross-env NODE_ENV=production babel ./src --out-dir ./lib --ignore src/**/*.test.js",
"build:copy-files": "node scripts/copyFilesForPubBuild.js",
"prebuild": "rimraf lib",
"build": "npm-run-all --parallel build:commonjs build:copy-files",
"test": "jest --coverage -u",
"test:watch": "jest --watch --coverage"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx}"
],
"setupFiles": [
"<rootDir>/node_modules/raf/polyfill.js",
"<rootDir>/scripts/enzymeSetup.js"
],
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.js?(x)",
"<rootDir>/src/**/?(*.)(spec|test).js?(x)"
],
"testURL": "http://localhost",
"transform": {
"^.+\\.(js|jsx|ts|tsx)$": "babel-jest-amcharts",
"^(?!.*\\.(js|jsx|ts|tsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\](?!(@amcharts)\\/).+\\.(js|jsx|ts|tsx)$",
"^.+\\.module\\.(css|sass|scss)$"
],
"moduleFileExtensions": [
"web.js",
"js",
"json",
"web.jsx",
"jsx",
"node"
],
"coverageThreshold": {
"global": {
"branches": 0,
"functions": 0,
"lines": 0,
"statements": 0
}
},
"coverageReporters": [
"cobertura",
"text",
"html"
]
},
"babel": {
"plugins": [
"@babel/plugin-transform-modules-commonjs",
"@babel/plugin-transform-classes"
],
"presets": [
"@babel/preset-react"
],
"env": {
"test": {
"plugins": [
"@babel/plugin-transform-modules-commonjs"
]
}
}
}
}