Browse Source

Update dev dependencies

Renée Kooi 7 years ago
parent
commit
e9849f7b29
3 changed files with 660 additions and 151 deletions
  1. 3 2
      bin/build-css.js
  2. 640 132
      package-lock.json
  3. 17 17
      package.json

+ 3 - 2
bin/build-css.js

@@ -4,6 +4,7 @@ var autoprefixer = require('autoprefixer')
 var cssnano = require('cssnano')
 var chalk = require('chalk')
 var fs = require('fs')
+var path = require('path')
 var mkdirp = require('mkdirp')
 
 mkdirp.sync('./dist/')
@@ -17,7 +18,7 @@ function minifyCSS () {
     fs.readFile('./dist/uppy.css', function (err, css) {
       if (err) handleErr(err)
       postcss([ cssnano ])
-        .process(css)
+        .process(css, { from: path.join(__dirname, '../dist/uppy.css') })
         .then(function (postCSSResult) {
           postCSSResult.warnings().forEach(function (warn) {
             console.warn(warn.toString())
@@ -37,7 +38,7 @@ function compileCSS () {
     sass.render({file: './src/scss/uppy.scss'}, function (err, sassResult) {
       if (err) handleErr(err)
       postcss([ autoprefixer ])
-        .process(sassResult.css)
+        .process(sassResult.css, { from: path.join(__dirname, '../src/scss/uppy.scss') })
         .then(function (postCSSResult) {
           postCSSResult.warnings().forEach(function (warn) {
             console.warn(warn.toString())

File diff suppressed because it is too large
+ 640 - 132
package-lock.json


+ 17 - 17
package.json

@@ -45,24 +45,24 @@
     ]
   },
   "devDependencies": {
-    "autoprefixer": "6.3.7",
-    "babel-cli": "6.11.4",
-    "babel-core": "6.13.2",
+    "autoprefixer": "^7.2.5",
+    "babel-cli": "^6.26.0",
+    "babel-core": "^6.26.0",
     "babel-eslint": "6.1.2",
     "babel-jest": "^22.0.6",
     "babel-plugin-add-module-exports": "0.2.1",
-    "babel-plugin-es6-promise": "1.0.0",
-    "babel-plugin-transform-object-assign": "6.8.0",
-    "babel-plugin-transform-proto-to-assign": "6.9.0",
+    "babel-plugin-es6-promise": "^1.1.1",
+    "babel-plugin-transform-object-assign": "^6.22.0",
+    "babel-plugin-transform-proto-to-assign": "^6.26.0",
     "babel-plugin-transform-react-jsx": "^6.24.1",
-    "babel-polyfill": "6.9.1",
-    "babel-preset-es2015": "6.24.0",
-    "babel-register": "6.9.0",
-    "babelify": "7.3.0",
+    "babel-polyfill": "^6.26.0",
+    "babel-preset-es2015": "^6.24.1",
+    "babel-register": "^6.26.0",
+    "babelify": "^8.0.0",
     "browser-sync": "2.18.8",
-    "browserify": "14.1.0",
+    "browserify": "^15.1.0",
     "chalk": "1.1.3",
-    "cssnano": "3.7.3",
+    "cssnano": "^3.10.0",
     "disc": "1.3.2",
     "eslint": "^3.19.0",
     "eslint-config-standard": "^10.2.1",
@@ -72,7 +72,7 @@
     "eslint-plugin-node": "^4.2.3",
     "eslint-plugin-promise": "^3.6.0",
     "eslint-plugin-standard": "^3.0.1",
-    "exorcist": "0.4.0",
+    "exorcist": "^1.0.0",
     "fakefile": "0.0.8",
     "glob": "7.1.1",
     "isomorphic-fetch": "2.2.1",
@@ -83,19 +83,19 @@
     "multi-glob": "1.0.1",
     "next-update": "1.2.2",
     "nock": "8.0.0",
-    "node-sass": "4.5.0",
+    "node-sass": "^4.7.2",
     "nodemon": "1.8.1",
     "npm-run-all": "2.3.0",
     "onchange": "3.2.1",
-    "postcss": "5.1.0",
+    "postcss": "^6.0.16",
     "pre-commit": "1.1.3",
     "redux": "^3.7.2",
     "sass": "0.5.0",
     "tape": "^4.8.0",
     "temp-write": "^3.4.0",
-    "tinyify": "^1.0.0",
+    "tinyify": "^2.4.0",
     "uppy-server": "0.0.7",
-    "watchify": "3.7.0",
+    "watchify": "^3.9.0",
     "wdio-mocha-framework": "^0.5.12",
     "wdio-sauce-service": "^0.4.6",
     "wdio-static-server-service": "^1.0.1",

Some files were not shown because too many files changed in this diff