@unimelb/pattern-lib-vue 13.4.18 → 13.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/.out/vue.js +2 -2
  2. package/package.json +13 -7
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unimelb/pattern-lib-vue",
3
3
  "description": "A complete design system for the University of Melbourne.",
4
- "version": "13.4.18",
4
+ "version": "13.6.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/unimelb/pattern-lib.git"
@@ -17,8 +17,8 @@
17
17
  ".out/vue.js"
18
18
  ],
19
19
  "scripts": {
20
- "prebuild": "rm -Rf .out/docs",
21
- "prebuild:lib": "rm -Rf .out/lib",
20
+ "prebuild": "rimraf .out/docs",
21
+ "prebuild:lib": "rimraf .out/lib",
22
22
  "build": "build-storybook -c .storybook -o .out/docs",
23
23
  "build:lib": "run-p build:lib:standard build:lib:minify",
24
24
  "build:lib:standard": "cross-env NODE_ENV=production webpack --config targets/lib/webpack.config.js",
@@ -28,6 +28,8 @@
28
28
  "dev": "start-storybook -p 7002 -c .storybook",
29
29
  "dev:public": "start-storybook -p 7002 -h 0.0.0.0 -c .storybook",
30
30
  "start:lib": "webpack-dev-server --port 7003 --config targets/lib/webpack.config.js",
31
+ "docker": "docker compose --profile dev up --abort-on-container-exit --remove-orphans",
32
+ "docker:build": "cross-env MODE=build docker compose run --rm storybook",
31
33
  "lint": "run-s lint:js lint:css",
32
34
  "lint:css": "stylelint \".storybook/**/*.css\" \"components/**/*.css\" \"targets/**/*.css\" --fix",
33
35
  "lint:js": "eslint \"*.js\" \".storybook/**/*.{js,vue}\" \"components/**/*.{js,vue}\" \"targets/**/*.js\" --fix",
@@ -43,7 +45,6 @@
43
45
  "dependencies": {
44
46
  "babel-polyfill": "^6.26.0",
45
47
  "change-case": "^3.1.0",
46
- "es6-promise": "^4.2.8",
47
48
  "gumshoejs": "^5.1.2",
48
49
  "jump.js": "^1.0.2",
49
50
  "lodash.clonedeep": "^4.5.0",
@@ -57,7 +58,8 @@
57
58
  "vue": "2.6.10",
58
59
  "vue-concise-slider": "^3.4.2",
59
60
  "vue-focus-lock": "1.4.0",
60
- "vue-progressive-image": "3.2.0"
61
+ "vue-progressive-image": "3.2.0",
62
+ "xss": "^1.0.14"
61
63
  },
62
64
  "devDependencies": {
63
65
  "@storybook/addon-notes": "^3.4.8",
@@ -98,6 +100,7 @@
98
100
  "jest-image-snapshot": "^2.12.0",
99
101
  "jest-puppeteer": "^4.4.0",
100
102
  "jest-serializer-vue": "^2.0.2",
103
+ "jest-transform-stub": "^2.0.0",
101
104
  "lint-staged": "^10.0.8",
102
105
  "normalize.css": "^8.0.0",
103
106
  "npm-run-all": "^4.1.5",
@@ -152,14 +155,17 @@
152
155
  "^\\.storybook/(.*)$": "<rootDir>/.storybook/$1",
153
156
  "^icons/(.*)$": "<rootDir>/components/icons/$1",
154
157
  "^components(.*)$": "<rootDir>/components$1",
155
- "^vue$": "vue/dist/vue.js"
158
+ "^vue$": "vue/dist/vue.js",
159
+ "^utils/(.*)$": "<rootDir>/utils/$1",
160
+ "^static/(.*)$": "<rootDir>/static/$1"
156
161
  },
157
162
  "snapshotSerializers": [
158
163
  "<rootDir>/node_modules/jest-serializer-vue"
159
164
  ],
160
165
  "transform": {
161
166
  ".*\\.(vue)$": "<rootDir>/node_modules/vue-jest",
162
- "^.+\\.js$": "<rootDir>/node_modules/babel-jest"
167
+ "^.+\\.js$": "<rootDir>/node_modules/babel-jest",
168
+ ".+\\.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2)$": "jest-transform-stub"
163
169
  },
164
170
  "transformIgnorePatterns": [],
165
171
  "testPathIgnorePatterns": [