@unimelb/pattern-lib-vue 13.4.18 → 13.5.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 +11 -6
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.5.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",
@@ -98,6 +99,7 @@
98
99
  "jest-image-snapshot": "^2.12.0",
99
100
  "jest-puppeteer": "^4.4.0",
100
101
  "jest-serializer-vue": "^2.0.2",
102
+ "jest-transform-stub": "^2.0.0",
101
103
  "lint-staged": "^10.0.8",
102
104
  "normalize.css": "^8.0.0",
103
105
  "npm-run-all": "^4.1.5",
@@ -152,14 +154,17 @@
152
154
  "^\\.storybook/(.*)$": "<rootDir>/.storybook/$1",
153
155
  "^icons/(.*)$": "<rootDir>/components/icons/$1",
154
156
  "^components(.*)$": "<rootDir>/components$1",
155
- "^vue$": "vue/dist/vue.js"
157
+ "^vue$": "vue/dist/vue.js",
158
+ "^utils/(.*)$": "<rootDir>/utils/$1",
159
+ "^static/(.*)$": "<rootDir>/static/$1"
156
160
  },
157
161
  "snapshotSerializers": [
158
162
  "<rootDir>/node_modules/jest-serializer-vue"
159
163
  ],
160
164
  "transform": {
161
165
  ".*\\.(vue)$": "<rootDir>/node_modules/vue-jest",
162
- "^.+\\.js$": "<rootDir>/node_modules/babel-jest"
166
+ "^.+\\.js$": "<rootDir>/node_modules/babel-jest",
167
+ ".+\\.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2)$": "jest-transform-stub"
163
168
  },
164
169
  "transformIgnorePatterns": [],
165
170
  "testPathIgnorePatterns": [