@unimelb/pattern-lib-vue 13.4.17 → 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 +12 -8
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.17",
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",
@@ -51,7 +52,6 @@
51
52
  "lodash.escaperegexp": "^4.1.2",
52
53
  "lodash.isplainobject": "^4.0.6",
53
54
  "semver": "^5.6.0",
54
- "sinon": "^7.3.0",
55
55
  "smoothscroll-polyfill": "^0.4.4",
56
56
  "throttle-debounce": "^2.1.0",
57
57
  "v-scroll-lock": "^1.3.1",
@@ -99,6 +99,7 @@
99
99
  "jest-image-snapshot": "^2.12.0",
100
100
  "jest-puppeteer": "^4.4.0",
101
101
  "jest-serializer-vue": "^2.0.2",
102
+ "jest-transform-stub": "^2.0.0",
102
103
  "lint-staged": "^10.0.8",
103
104
  "normalize.css": "^8.0.0",
104
105
  "npm-run-all": "^4.1.5",
@@ -153,14 +154,17 @@
153
154
  "^\\.storybook/(.*)$": "<rootDir>/.storybook/$1",
154
155
  "^icons/(.*)$": "<rootDir>/components/icons/$1",
155
156
  "^components(.*)$": "<rootDir>/components$1",
156
- "^vue$": "vue/dist/vue.js"
157
+ "^vue$": "vue/dist/vue.js",
158
+ "^utils/(.*)$": "<rootDir>/utils/$1",
159
+ "^static/(.*)$": "<rootDir>/static/$1"
157
160
  },
158
161
  "snapshotSerializers": [
159
162
  "<rootDir>/node_modules/jest-serializer-vue"
160
163
  ],
161
164
  "transform": {
162
165
  ".*\\.(vue)$": "<rootDir>/node_modules/vue-jest",
163
- "^.+\\.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"
164
168
  },
165
169
  "transformIgnorePatterns": [],
166
170
  "testPathIgnorePatterns": [
@@ -172,4 +176,4 @@
172
176
  "pre-commit": "cross-env lint-staged"
173
177
  }
174
178
  }
175
- }
179
+ }