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 71
/
package.json
122 lines (122 loc) · 4.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
122
{
"name": "terra-framework",
"version": "0.1.0",
"description": "terra-framework",
"author": "Cerner Corporation",
"repository": {
"type": "git",
"url": "git+https://github.com/cerner/terra-framework.git"
},
"bugs": {
"url": "https://github.com/cerner/terra-framework/issues"
},
"license": "Apache-2.0",
"keywords": [
"Cerner",
"Terra",
"Terra Framework",
"terra-framework"
],
"private": true,
"workspaces": [
"packages/*"
],
"engines": {
"node": "10 || 12 || 14",
"npm": "9"
},
"browserslist": [
"extends @cerner/browserslist-config-terra"
],
"package-json-lint": {
"extends": "@cerner/package-json-lint-config-terra/package-json-lint.config.js",
"projectType": "module"
},
"peerDependencies": {
"react": "16",
"react-dom": "16",
"react-intl": "2"
},
"devDependencies": {
"@babel/cli": "7",
"@babel/core": "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/package-json-lint": "2",
"@cerner/package-json-lint-config-terra": "2",
"@cerner/stylelint-config-terra": "5",
"@cerner/terra-cli": "1",
"@cerner/terra-dev-site": "7",
"@cerner/terra-functional-testing": "4",
"@cerner/terra-open-source-scripts": "1",
"@cerner/webpack-config-terra": "3",
"@testing-library/jest-dom": "5",
"@testing-library/react": "10",
"@testing-library/user-event": "12",
"danger": "11",
"enzyme": "3",
"enzyme-adapter-react-16": "1",
"enzyme-to-json": "3",
"eslint": "7",
"gh-pages": "2",
"glob": "7",
"jest": "29",
"lerna": "6",
"postcss": "8",
"stylelint": "15",
"terra-enzyme-intl": "3",
"webpack": "5",
"webpack-cli": "4",
"webpack-dev-server": "4",
"webpack-merge": "5",
"xfc": "1"
},
"scripts": {
"clean": "npm run clean:root && npm run clean:lib",
"clean:lib": "rm -rf packages/**/lib",
"clean:root": "$(lerna clean --yes || true) && echo 'removing ./node_modules' && rm -rf node_modules && echo 'removed ./node_modules'",
"clean:install": "npm run clean && time npm install",
"clean:containers": "echo 'stopping containers:' && docker stop $(docker ps -a -q) && echo 'removing containers:' && docker rm $(docker ps -a -q)",
"clean:obsolete-snapshots": "npm test -- -u",
"compile": "npm run clean:lib && npm run compile:build",
"compile:build": "lerna run compile",
"compile:src": "lerna run compile",
"compile:fusion": "rm -rf ./build; NODE_ENV=production THEME=orion-fusion-theme webpack --mode=production --config webpack.config.js",
"compile:lowlight": "rm -rf ./build; NODE_ENV=production THEME=clinical-lowlight-theme webpack --mode=production --config webpack.config.js",
"compile:default": "rm -rf ./build; NODE_ENV=production webpack --mode=production --config webpack.config.js",
"danger": "danger ci",
"deploy": "npm run compile:prod && gh-pages -d build",
"dependency-markdown": "node scripts/dependency-markdown-generator/DependencyMarkdownGenerator.js",
"docs": "node scripts/root-readme-updater/index.js",
"docs:peerDependencies": "node scripts/peer-dependency-generator/index.js",
"heroku-postbuild": "npm install --only=dev && npm run compile:prod",
"jest": "jest",
"jest:debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
"jest:no-coverage": "jest --no-coverage",
"lint": "npm run lint:js && npm run lint:scss:no-warnings && npm run lint:package-json",
"lint:js": "eslint --ext .js,.jsx . --max-warnings 0",
"lint:js:fix": "eslint --ext .js,.jsx . --fix",
"lint:package-json": "terra package-json-lint",
"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",
"start": "webpack serve",
"start-heroku": "terra express-server --port $PORT --site build",
"start-prod": "webpack serve --env disableHotReloading --mode=production",
"start-static": "npm run compile:prod && terra express-server --site build",
"test": "npm run lint && npm run jest && npm run wdio",
"test:docker": "npm run lint && npm run jest && npm run wdio:docker",
"wdio": "terra wdio --themes terra-default-theme clinical-lowlight-theme orion-fusion-theme",
"wdio:default": "terra wdio",
"wdio:lowlight": "NODE_OPTIONS=--max-old-space-size=2048 terra wdio --themes clinical-lowlight-theme",
"wdio:fusion": "terra wdio --themes orion-fusion-theme",
"wdio:redwood": "terra wdio --themes redwood-theme",
"wdio:docker": "terra wdio --disable-selenium-service=true --themes terra-default-theme clinical-lowlight-theme orion-fusion-theme"
}
}