Remove unsed script and npm dependency

Change-Id: I253205ce19cc4a042fc2c0c2ecf7be11cd322db5
This commit is contained in:
Guillaume Vincent 2019-05-22 14:26:12 +02:00
parent 038e9d9e17
commit ba3735f000
3 changed files with 1 additions and 70 deletions

35
package-lock.json generated
View File

@ -3410,14 +3410,6 @@
"concat-map": "0.0.1"
}
},
"braces": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/braces/-/braces-3.0.1.tgz",
"integrity": "sha512-Vmyh3JAr5DRUKCdRrC+WyAAsWBez8HLnBmVb6Ux2VYbvC8DjqMC228WHx24fiQG5BiDOVo+otK1scdkK5S6YNg==",
"requires": {
"fill-range": "^7.0.1"
}
},
"brorand": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz",
@ -6420,24 +6412,6 @@
"resolved": "https://registry.npmjs.org/filesize/-/filesize-3.6.1.tgz",
"integrity": "sha512-7KjR1vv6qnicaPMi1iiTcI85CyYwRO/PSFCu6SvqL8jN2Wjt/NIYQTFtFs7fSDCYOstUkEWIQGFUg5YZQfjlcg=="
},
"fill-range": {
"version": "7.0.1",
"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
"integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
"requires": {
"to-regex-range": "^5.0.1"
},
"dependencies": {
"to-regex-range": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
"integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
"requires": {
"is-number": "^7.0.0"
}
}
}
},
"finalhandler": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.1.tgz",
@ -7561,11 +7535,6 @@
"is-extglob": "^2.1.1"
}
},
"is-number": {
"version": "7.0.0",
"resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
"integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng=="
},
"is-obj": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz",
@ -8186,15 +8155,13 @@
"minimatch": {
"version": "3.0.4",
"bundled": true,
"optional": true,
"requires": {
"brace-expansion": "^1.1.7"
}
},
"minimist": {
"version": "0.0.8",
"bundled": true,
"optional": true
"bundled": true
},
"minipass": {
"version": "2.3.5",

View File

@ -9,7 +9,6 @@
"@patternfly/react-icons": "^3.9.2",
"@patternfly/react-tokens": "^2.5.1",
"axios": "^0.18.0",
"braces": "^3.0.1",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-redux": "^7.0.1",

View File

@ -1,35 +0,0 @@
const results = [];
for (let i = 0; i < 200; i++) {
const random = Math.random();
if (random < 0.001) {
results.push({
id: `${i}`,
status: "changed",
duration: 55
});
} else if (random < 0.01) {
results.push({
id: `${i}`,
status: "skipped",
duration: 20
});
} else if (random < 0.02) {
results.push({
id: `${i}`,
status: "changed",
duration: 20
});
} else {
results.push({
id: `${i}`,
status: "ok",
duration: Math.random() * 20 + 20
});
}
}
results.push({
id: "200",
status: "failed",
duration: Math.random() * 20 + 20
});
console.log(results);