-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
115 lines (115 loc) · 4.24 KB
/
package.json
File metadata and controls
115 lines (115 loc) · 4.24 KB
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
{
"name": "reusable-webcomponents",
"version": "1.0.0",
"description": "A pure javascript collection of ITS Design System components for UQ Library apps",
"main": "src/index.js",
"files": [
"dist"
],
"scripts": {
"build:development": "cross-env NODE_ENV=development webpack && npm run compilesass:development",
"build:production": "cross-env NODE_ENV=production webpack && npm run compilesass",
"build:staging": "cross-env NODE_ENV=staging webpack && npm run compilesass",
"build": "cross-env NODE_ENV=local webpack && npm run compilesass",
"clean": "rm -rf node_modules dist playwright/.results .nyc_output",
"codestyles:fix:all": "cross-env prettier-eslint '**/*.html' '**/*.scss' '**/*.css' '**/*.md' '**/*.js' '**/*.jsx' --write",
"codestyles:fix:staged": "FILES=$(git diff --cached --name-only --diff-filter=ACM | grep -E \".(html|scss|css|md|js|jsx)$\"); npx prettier-eslint $FILES --write",
"codestyles:fix": "cross-env prettier-eslint --write",
"compilesass:development": "sass ./src/applications/:./dist/$CI_BRANCH/applications/ --style compressed",
"compilesass": "sass ./src/applications/:./dist/applications/ --style compressed",
"eslint:fix": "eslint '**/*.js' --quiet --fix",
"eslint": "eslint '**/*.js' --quiet",
"start-test-server": "cross-env NODE_ENV=local USE_MOCK=true webpack-dev-server",
"start:mock:no-open": "cross-env NODE_ENV=local USE_MOCK=true FULL_PATH=http://localhost:8080 NODE_OPTIONS='--max-old-space-size=2048' webpack-dev-server",
"start:mock": "cross-env NODE_ENV=local USE_MOCK=true FULL_PATH=http://localhost:8080 NODE_OPTIONS='--max-old-space-size=2048' webpack-dev-server --open",
"start": "cross-env NODE_ENV=local webpack-dev-server --open",
"test:e2e": "playwright test",
"test:e2e:show": "cross-env PW_HEADED=true npm run test:e2e -- --workers=1",
"test:e2e:debug": "playwright show-trace",
"test:jest": "cross-env NODE_ENV=test FULL_PATH=http://localhost jest src/"
},
"engines": {
"npm": "~10.5.0",
"node": ">=18.19.0"
},
"repository": {
"type": "git",
"url": "https://github.com/uqlibrary/reusable-webcomponents.git"
},
"author": "UQ Library",
"license": "MIT",
"homepage": "https://library.uq.edu.au",
"devDependencies": {
"@axe-core/playwright": "^4.11.0",
"@babel/core": "^7.22.9",
"@babel/eslint-parser": "^7.22.9",
"@babel/preset-env": "^7.22.9",
"@babel/preset-react": "^7.22.5",
"@playwright/test": "^1.56.1",
"autoprefixer": "^10.4.21",
"axe-core": "^4.8.0",
"babel-loader": "^8.3.0",
"babel-plugin-istanbul": "^6.1.1",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-remove-console": "^6.9.4",
"clean-css-cli": "^5.6.2",
"copy-webpack-plugin": "^11.0.0",
"content-replace-webpack-plugin": "^1.0.0",
"cross-env": "^7.0.3",
"css-loader": "^6.11.0",
"cssnano": "^6.1.2",
"cy2pw": "^0.0.6",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^3.4.1",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.6.4",
"istanbul-lib-coverage": "^3.2.0",
"mini-css-extract-plugin": "^1.6.2",
"mocha": "^10.8.2",
"nyc": "^15.1.0",
"postcss-loader": "^7.3.4",
"prettier": "^2.8.8",
"prettier-eslint-cli": "^7.1.0",
"rename-output-webpack-plugin": "^1.0.1",
"replace-in-file-webpack-plugin": "^1.0.6",
"sass": "^1.69.7",
"sass-loader": "^16.0.6",
"start-server-and-test": "^2.0.11",
"style-loader": "^3.3.4",
"webpack": "^5.105.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.2"
},
"dependencies": {
"core-js": "^3.46.0",
"fetch-jsonp": "^1.3.0",
"js-cookie": "^3.0.5",
"regenerator-runtime": "^0.13.11",
"throttle-debounce": "^5.0.2",
"validator": "^13.15.22"
},
"browserslist": [
"defaults",
"not IE 11"
],
"nyc": {
"all": false,
"check-coverage": true,
"branches": 100,
"lines": 100,
"functions": 100,
"statements": 100,
"include": [
"**/src/**"
],
"exclude": [
"**/*.locale.js",
"**/src/locale/**",
"**/mock/**",
"**/codebuild/**"
]
}
}