This repository has been archived by the owner on May 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 50
/
package.json
120 lines (120 loc) · 4.36 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": "terra-clinical",
"version": "0.1.0",
"description": "terra-clinical",
"author": "Cerner Corporation",
"repository": {
"type": "git",
"url": "git+https://github.com/cerner/terra-clinical.git"
},
"bugs": {
"url": "https://github.com/cerner/terra-clinical/issues"
},
"license": "Apache-2.0",
"keywords": [
"Cerner",
"Terra",
"Terra Clinical",
"terra-clinical"
],
"private": true,
"workspaces": [
"packages/*"
],
"engines": {
"node": "14",
"npm": "9"
},
"browserslist": [
"extends @cerner/browserslist-config-terra"
],
"eslintConfig": {
"extends": "@cerner/terra"
},
"package-json-lint": {
"extends": "@cerner/package-json-lint-config-terra/package-json-lint.config.js",
"projectType": "module"
},
"stylelint": {
"extends": "@cerner/stylelint-config-terra",
"rules": {
"scss/at-mixin-pattern": "^(terra-)[a-z]+([a-z0-9-]+[a-z0-9]+)?$"
}
},
"peerDependencies": {
"react": "16",
"react-dom": "16",
"react-intl": "2"
},
"devDependencies": {
"@babel/cli": "7",
"@babel/core": "7",
"@babel/plugin-transform-object-assign": "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": "1",
"@cerner/package-json-lint-config-terra": "1",
"@cerner/stylelint-config-terra": "5",
"@cerner/terra-aggregate-translations": "2",
"@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",
"danger": "10",
"enzyme": "3",
"enzyme-adapter-react-16": "1",
"enzyme-to-json": "3",
"eslint": "7",
"gh-pages": "5",
"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"
},
"scripts": {
"clean": "npm run clean:root && npm run clean:lib",
"clean:install": "npm run clean && time npm install",
"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:obsolete-snapshots": "npm test -- -u",
"compile": "npm run clean:lib && npm run compile:build",
"compile:build": "lerna run compile",
"compile:prod": "rm -rf ./build; webpack --mode=production --env enableAggregateThemes",
"compile:lowlight": "rm -rf ./build; THEME=clinical-lowlight-theme webpack --mode=production --env enableAggregateThemes",
"compile:fusion": "rm -rf ./build; THEME=orion-fusion-theme webpack --mode=production --env enableAggregateThemes",
"danger": "danger ci",
"deploy": "npm run compile:prod && gh-pages -d build",
"heroku-postbuild": "npm install --only=dev && npm run compile:prod",
"jest": "jest",
"jest:coverage": "jest --coverage",
"lint": "npm run lint:js && npm run lint:scss && npm run lint:package-json",
"lint:js": "eslint --ext .js,.jsx . --max-warnings 0",
"lint:js:fix": "eslint --fix --ext .js,.jsx .",
"lint:scss": "stylelint 'packages/**/src/**/*.scss'",
"lint:package-json": "terra package-json-lint",
"prepare-for-release": "terra prepare-for-release",
"postinstall": "npm run compile",
"start": "webpack serve --env enableAggregateThemes",
"start-heroku": "terra express-server --port $PORT --site build",
"start-prod": "webpack serve --env disableHotReloading --mode=production --env enableAggregateThemes",
"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",
"update-package-readme": "node scripts/root-readme-updater/index.js",
"wdio-default": "terra wdio",
"wdio-lowlight": "terra wdio --themes clinical-lowlight-theme",
"wdio-fusion": "terra wdio --themes orion-fusion-theme",
"wdio": "terra wdio --themes terra-default-theme clinical-lowlight-theme orion-fusion-theme",
"wdio:docker": "terra wdio --disableSeleniumService=true --themes terra-default-theme clinical-lowlight-theme orion-fusion-theme"
}
}