-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
137 lines (137 loc) · 6.57 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
{
"name": "Queensland-Government-Web-Template",
"version": "4.4.0",
"description": "This template is designed to provide a template for all Franchise websites, and the underpinning technology for new Agency websites.",
"main": "gulpfile.babel.js",
"repository": {
"type": "git",
"url": "git+https://github.com/qld-gov-au/qg-web-template.git"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"scripts": {
"all": "npm run clean && npm run build && npm run test-ci && npm run test-release && npm run build-storybook-gh",
"clean": "gulp clean-build && gulp clean-release",
"prebuild": "gulp clean-build",
"build": "gulp build",
"test": "jest --config=./jest.config.js",
"test-ci": "npm run watch & (echo \"sleeping 10\"; sleep 10;) && npm run test",
"postbuild": "gulp clean-redundant-build",
"release": "gulp clean-release && export NODE_ENV=prod && npm run build && node gulp/build-tasks/node-docs-flatten.js && npm run build-storybook && gulp release && node gulp/release-tasks/node-template-flatten.js && gulp replace-links",
"test-release": "gulp clean-release && npm run build && node gulp/build-tasks/node-docs-flatten.js && npm run build-storybook && gulp release && node gulp/release-tasks/node-template-flatten.js && gulp replace-links",
"postrelease": "gulp clean-redundant-release",
"start-legacy": "npm run build && gulp watch",
"start": "npm run build && concurrently \"gulp watch\" \"npm:storybook\"",
"watch": "gulp watch",
"gh-pages-legacy": "export NODE_ENV=prod && npm run release && node gulp/gh-pages.js",
"gh-pages": "npm run build-storybook-gh && node gulp/gh-pages.js && echo 'publishing complete.'",
"publish-npm": "export NODE_ENV=prod && npm run release && gulp wt-clean && gulp wt-clone && gulp wt-sync && cd web-template-release && git add . && git commit -m ${npm_package_version} && npm login && np ${npm_package_version}",
"publish-test-npm": "npm run release && export NODE_ENV=test && gulp wt-clean && gulp wt-clone && gulp wt-sync && gulp wt-branch && gulp wt-updateVersion && gulp wt-add && gulp wt-commit && gulp wt-push",
"publish-uat-branch": "npm run test-release && export NODE_ENV=test && gulp wt-clean && gulp wt-clone && gulp wt-sync && gulp wt-branch --branch=$npm_config_branch && gulp wt-updateVersion && gulp wt-add && gulp wt-commit && gulp wt-push --branch=$npm_config_branch",
"create-swe-release": "export NODE_ENV=prod && gulp swe-add && gulp swe-tag && gulp swe-commit && gulp swe-push",
"publish-cdn": "export NODE_ENV=prod && npm run release && gulp cdn-clean && gulp cdn-clone && gulp cdn-transfer && gulp cdn-add && gulp cdn-commit && gulp cdn-push",
"publish-test-cdn": "npm run release && export NODE_ENV=test && gulp cdn-clean && gulp cdn-clone && gulp cdn-transfer && gulp cdn-branch && gulp cdn-add && gulp cdn-commit && gulp cdn-push",
"postpublish": "gulp clean-publish",
"storybook": "storybook dev -p 6006 --disable-telemetry",
"storybook-ci": "storybook dev -p 6006 --ci --disable-telemetry",
"storybook-ci-smoketest": "storybook dev -p 6006 --ci --smoke-test --disable-telemetry",
"storybook-docs": "storybook dev -p 6006 --docs --disable-telemetry",
"build-storybook": "npm run storybook-ci & (echo \"starting localhost:6006 for SSI includes to be bundled \r\n sleeping 25\"; sleep 25;) && storybook build --disable-telemetry && jobs -p && echo 'please kill prcess' && jobs -l",
"build-storybook-docs": "storybook build --docs --disable-telemetry",
"build-storybook-gh": "npm run build-storybook",
"chromatic": "echo \"This is for manual deployment, define your own CHROMATIC_PROJECT_TOKEN in your ~/.npmrc. eg. export CHROMATIC_PROJECT_TOKEN=xxxxxx\" && npm run build && npx chromatic --project-token=${CHROMATIC_PROJECT_TOKEN} -b build-storybook"
},
"authors": "Queensland Government",
"licence": "all rights reserved",
"homepage": "http://www.qld.gov.au/",
"devDependencies": {
"@babel/core": "^7.23.7",
"@babel/plugin-transform-runtime": "^7.23.7",
"@babel/preset-env": "^7.23.8",
"@storybook/addon-actions": "v7.6.9",
"@storybook/addon-essentials": "v7.6.10",
"@storybook/addon-interactions": "v7.6.10",
"@storybook/addon-links": "v7.6.10",
"@storybook/addon-mdx-gfm": "^7.6.9",
"@storybook/html": "v7.6.10",
"@storybook/html-webpack5": "^7.6.9",
"@storybook/testing-library": "^0.2.2",
"babel-loader": "^9.1.3",
"chromatic": "^10.3.1",
"chromium": "^3.0.3",
"concurrently": "^8.2.2",
"copy-webpack-plugin": "^12.0.2",
"cssnano": "^6.0.3",
"eslint": "^8.51.0",
"eslint-config-semistandard": "^7.0.0",
"eslint-config-standard": "^14.1.1",
"eslint-html-reporter": "^0.7.4",
"eslint-loader": "^4.0.2",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-standard": "^5.0.0",
"event-stream": "^4.0.1",
"font-awesome": "^4.7.0",
"gh-pages": "^6.1.1",
"git-hooks": "^1.1.10",
"gulp": "^4.0.2",
"gulp-add-src": "^1.0.0",
"gulp-autoprefixer": "^8.0.0",
"gulp-concat": "^2.6.1",
"gulp-connect": "^5.7.0",
"gulp-connect-ssi": "^0.4.0",
"gulp-debug": "^5.0.1",
"gulp-directory-sync": "^1.2.4",
"gulp-eslint": "^6.0.0",
"gulp-foreach": "^0.1.0",
"gulp-git": "^2.10.1",
"gulp-if": "^3.0.0",
"gulp-include": "^2.4.1",
"gulp-inject": "^5.0.5",
"gulp-insert": "^0.5.0",
"gulp-load-plugins": "^2.0.8",
"gulp-open": "^3.0.1",
"gulp-plumber": "^1.2.1",
"gulp-postcss": "^9.1.0",
"gulp-prompt": "^1.2.0",
"gulp-replace": "^1.1.4",
"gulp-sass": "^5.1.0",
"gulp-shell": "^0.8.0",
"gulp-sourcemaps": "^3.0.0",
"gulp-uglify": "^3.0.2",
"gulp-wait": "0.0.2",
"gulp-webpack": "^1.5.0",
"historyjs": "^1.8.0-b2",
"jest": "^29.7.0",
"jest-puppeteer": "^9.0.2",
"node-ssi": "^0.3.2",
"np": "^9.2.0",
"puppeteer": "^21.7.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rimraf": "^5.0.5",
"sass": "^1.70.0",
"storybook": "^7.6.10",
"storybook-addon-pseudo-states": "^2.1.2",
"string-replace-loader": "^3.1.0",
"terser-webpack-plugin": "^5.3.10",
"webpack": "^5.89.0",
"webpack-ssi-include-loader": "^1.6.1",
"webpack-stream": "^7.0.0"
},
"dependencies": {
"@babel/runtime": "^7.23.8",
"ajv": "^8.12.0",
"bootstrap": "^4.6.2",
"jquery": "^3.7.1",
"jquery-ui-bundle": "^1.12.1",
"nodep-date-input-polyfill": "^5.2.0",
"postcss": "^8.4.33",
"stickyfill": "^1.1.1"
},
"engines" : {
"node" : ">=18"
}
}