This repository has been archived by the owner on May 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
118 lines (118 loc) · 5.56 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
{
"name": "terra-graphs",
"version": "0.1.0",
"description": "terra-graphs",
"author": "Cerner Corporation",
"repository": {
"type": "git",
"url": "git+https://github.com/cerner/terra-graphs.git"
},
"bugs": {
"url": "https://github.com/cerner/terra-graphs/issues"
},
"license": "Apache-2.0",
"keywords": [
"Cerner",
"Terra",
"Terra Graphs",
"terra-graphs"
],
"private": true,
"engines": {
"node": "10 || 12 || 14"
},
"workspaces": [
"packages/*"
],
"browserslist": [
"extends @cerner/browserslist-config-terra"
],
"peerDependencies": {
"react": "16",
"react-dom": "16",
"react-intl": "5"
},
"devDependencies": {
"@babel/cli": "7",
"@babel/core": "7",
"@babel/eslint-parser": "7",
"@babel/plugin-transform-object-assign": "7",
"@babel/plugin-transform-runtime": "7",
"@babel/preset-env": "7",
"@babel/preset-react": "7",
"@cerner/browserslist-config-terra": "4",
"@cerner/eslint-config-terra": "5",
"@cerner/jest-config-terra": "3",
"@cerner/stylelint-config-terra": "5",
"@cerner/terra-cli": "1",
"@cerner/terra-dev-site": "8",
"@cerner/terra-enzyme-intl": "4",
"@cerner/terra-functional-testing": "4",
"@cerner/terra-open-source-scripts": "1",
"@cerner/webpack-config-terra": "3",
"babel-plugin-minify-replace": "^0.5.0",
"danger": "11",
"enzyme": "3",
"enzyme-adapter-react-16": "1",
"enzyme-to-json": "3",
"eslint": "7",
"glob": "7",
"html-webpack-plugin": "4",
"jest": "29",
"lerna": "6",
"less-loader": "7",
"one-cerner-style-icons": "https://github.com/cerner/one-cerner-style-icons/archive/v1.34.0.tar.gz",
"postcss": "8",
"stylelint": "15",
"uuid": "3.4.0",
"webpack": "5",
"webpack-cli": "4",
"webpack-dev-server": "4",
"webpack-merge": "5"
},
"scripts": {
"build": "webpack --config ./packages/carbon-graphs/webpack/webpack.config.js",
"build:dist": "webpack --config ./packages/carbon-graphs/webpack/webpack.config.js",
"clean": "npm run clean:root && npm run clean:lib",
"clean:install": "npm run clean && time npm install",
"clean:lib": "rm -rf packages/**/lib && rm -rf packages/carbon-graphs/dist",
"clean:root": "$(lerna clean --yes || true) && echo 'removing ./node_modules' && rm -rf node_modules && echo 'removed ./node_modules'",
"compile": "npm run clean:lib && npm run build:dist && npm run compile:build",
"compile:build": "lerna ls -all | sed 's/@cerner\\///g' | cut -d ' ' -f1 | xargs -I {} babel packages/{}/src --out-dir packages/{}/lib --copy-files",
"compile:src": "lerna run compile",
"compile:prod": "rm -rf ./build; NODE_ENV=production webpack",
"compile:lowlight": "rm -rf ./build; THEME=clinical-lowlight-theme webpack",
"compile:fusion": "rm -rf ./build; THEME=orion-fusion-theme webpack",
"danger": "danger ci",
"dev": "node packages/carbon-graphs/webpack/dev-server.js",
"heroku-postbuild": "npm install --only=dev && npm run compile:prod",
"jest": "jest",
"jest:no-coverage": "jest --no-coverage",
"lint": "npm run lint:js && npm run lint:scss",
"lint:js": "eslint --ext .js,.jsx . --max-warnings 0",
"lint:js:fix": "eslint --fix --ext .js,.jsx .",
"lint:scss": "stylelint 'packages/**/src/**/*.scss'",
"lint:scss:no-warnings": "stylelint 'packages/**/src/**/*.scss' --quiet",
"prepare-for-release": "terra prepare-for-release",
"postinstall": "npm run compile && npm run build && npm run build:dist",
"start": "webpack serve --config webpack.config.js",
"start-prod": "webpack-dev-server --env.disableHotReloading -p",
"start-static": "npm run compile:prod && terra express-server --site ./build",
"test": "npm run lint && npm run jest && npm run wdio-default",
"test:docker": "npm run lint && npm run jest && && npm run karma && npm run wdio-default:docker",
"wdio": "npm run compile && terra wdio --themes terra-default-theme",
"wdio:default": "terra wdio --themes terra-default-theme",
"wdio:default:docker": "terra wdio --disable-selenium-service=true",
"wdio:docker": "terra wdio --disable-selenium-service=true --themes terra-default-theme",
"wdio:bar": "terra wdio --themes terra-default-theme --spec packages/carbon-graphs/tests/wdio/Graphs/BarGraph/bar-graph-spec.js",
"wdio:bubble": "terra wdio --themes terra-default-theme --spec packages/carbon-graphs/tests/wdio/Graphs/BubbleGraph/bubbleGraphs-spec.js",
"wdio:combination": "terra wdio --themes terra-default-theme --spec packages/carbon-graphs/tests/wdio/Graphs/CombinationGraph/combination-graph-spec.js",
"wdio:gantt": "terra wdio --themes terra-default-theme --spec packages/carbon-graphs/tests/wdio/Graphs/GanttChart/gantt-chart-spec.js",
"wdio:general": "terra wdio --themes terra-default-theme --spec packages/carbon-graphs/tests/wdio/Graphs/General/general-spec.js",
"wdio:line": "terra wdio --themes terra-default-theme --spec packages/carbon-graphs/tests/wdio/Graphs/LineGraph/line-graph-spec.js",
"wdio:pairedresult": "terra wdio --themes terra-default-theme --spec packages/carbon-graphs/tests/wdio/Graphs/PairedResultGraph/paired-result-graph-spec.js",
"wdio:pie": "terra wdio --themes terra-default-theme --spec packages/carbon-graphs/tests/wdio/Graphs/PieChart/pie-graph-spec.js",
"wdio:scatter": "terra wdio --themes terra-default-theme --spec packages/carbon-graphs/tests/wdio/Graphs/ScatterGraph/scatter-graph-spec.js",
"wdio:timeline": "terra wdio --themes terra-default-theme --spec packages/carbon-graphs/tests/wdio/Graphs/Timeline/timeline-spec.js"
}
}