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 37
/
package.json
103 lines (103 loc) · 3.66 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
{
"name": "terra-toolkit",
"version": "5.25.0",
"description": "Utilities to help when developing terra modules.",
"author": "Cerner Corporation",
"repository": {
"type": "git",
"url": "git+https://github.com/cerner/terra-toolkit"
},
"bugs": {
"url": "https://github.com/cerner/terra-toolkit/issues"
},
"license": "Apache-2.0",
"keywords": [
"Cerner",
"Terra",
"Terra Toolkit",
"terra-toolkit",
"UI"
],
"private": true,
"workspaces": [
"packages/*"
],
"engines": {
"node": "14",
"npm": "9"
},
"browserslist": [
"extends @cerner/browserslist-config-terra"
],
"package-json-lint": {
"extends": "./packages/package-json-lint-config-terra/package-json-lint.config.js",
"projectType": "devModule",
"rules": {
"require-no-hard-coded-dependency-versions": {
"severityType": "error",
"allowList": [
"eslint-plugin-react",
"axe-core",
"inquirer"
]
}
}
},
"peerDependencies": {
"react": "16",
"react-dom": "16",
"react-intl": "5"
},
"devDependencies": {
"@babel/cli": "7",
"@babel/core": "7",
"@babel/preset-env": "7",
"@babel/preset-react": "7",
"@cerner/browserslist-config-terra": "4",
"@cerner/terra-dev-site": "8",
"@cerner/webpack-config-terra": "3",
"danger": "11",
"enzyme": "3",
"enzyme-adapter-react-16": "1",
"eslint": "7",
"html-webpack-plugin": "4",
"jest": "29",
"lerna": "6",
"postcss": "8",
"stylelint": "15",
"webpack": "5",
"webpack-cli": "4",
"webpack-dev-server": "4"
},
"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'",
"compile:prod": "rm -rf ./build; NODE_ENV=production webpack --mode=production --config webpack.dev-site.config.js",
"compile": "npm run clean:lib && lerna run compile",
"danger": "danger ci",
"heroku-postbuild": "npm install --only=dev && npm run compile:prod",
"heroku-prebuild": "npx lerna init",
"jest": "jest --no-coverage",
"lint:js": "eslint --ext .js,.jsx . --max-warnings 0",
"lint:js:fix": "eslint --fix --ext .js,.jsx .",
"lint:package-json": "npm run terra -- package-json-lint",
"lint": "npm run lint:js && npm run lint:package-json",
"mocha": "cd packages/terra-functional-testing && npm run mocha",
"pack": "webpack --mode=production",
"postinstall": "npm run compile",
"prepare-for-release": "npm run terra -- prepare-for-release",
"start": "webpack serve --config webpack.dev-site.config.js",
"start-heroku": "npm run terra -- express-server --port $PORT --site './build' ",
"terra": "node ./packages/terra-cli/bin/terra",
"test": "npm run lint && npm run jest && npm run mocha && npm run wdio",
"test:docker": "npm run lint && npm run jest && npm run mocha && npm run wdio:docker",
"wdio-site": "npm run terra -- wdio --site build --browsers chrome firefox --locales en fr --formFactors small large",
"wdio-webpack": "npm run terra -- wdio",
"wdio-site:docker": "npm run terra -- wdio --site build --disableSeleniumService=true --browsers chrome firefox --locales en fr --formFactors small large",
"wdio-webpack:docker": "npm run terra -- wdio --disableSeleniumService=true",
"wdio": "rm -rf build && npm run pack && npm run wdio-site && npm run wdio-webpack",
"wdio:docker": "rm -rf build && npm run pack && npm run wdio-site:docker && npm run wdio-webpack:docker"
}
}