Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

Commit

Permalink
fix: deploy failed
Browse files Browse the repository at this point in the history
  • Loading branch information
origamium committed Apr 5, 2020
1 parent a095bce commit 0ae38ac
Show file tree
Hide file tree
Showing 4 changed files with 296 additions and 13 deletions.
2 changes: 1 addition & 1 deletion now.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"version": 2,
"builds": [
{
"src": "nuxt.config.js",
"src": "nuxt.config.ts",
"use": "@nuxtjs/now-builder",
"config": {}
}
Expand Down
5 changes: 2 additions & 3 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Configuration } from '@nuxt/types'
import { Configuration as WebpackConfiguration } from 'webpack'
import { ProvidePlugin, Configuration as WebpackConfiguration } from 'webpack'
import i18n from './nuxt-i18n.config'
const webpack = require('webpack')
const purgecss = require('@fullhuman/postcss-purgecss')
const autoprefixer = require('autoprefixer')
const environment = process.env.NODE_ENV || 'development'
Expand Down Expand Up @@ -130,7 +129,7 @@ const config: Configuration = {
],
build: {
plugins: [
new webpack.ProvidePlugin({
new ProvidePlugin({
mapboxgl: 'mapbox-gl'
})
],
Expand Down
16 changes: 11 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,13 @@
}
},
"dependencies": {
"@fullhuman/postcss-purgecss": "^2.1.0",
"@nuxt/typescript-runtime": "^0.4.0",
"@nuxtjs/dotenv": "^1.4.0",
"@nuxtjs/pwa": "^3.0.0-0",
"@types/d3": "^5.7.2",
"@types/mapbox-gl": "^1.8.0",
"autoprefixer": "^9.7.5",
"chart.js": "^2.9.3",
"cross-env": "^5.2.0",
"dayjs": "^1.8.21",
Expand All @@ -48,12 +50,14 @@
"mapbox-gl-vue": "^2.0.4",
"nuxt": "^2.11.0",
"nuxt-i18n": "^6.6.0",
"nuxt-purgecss": "^0.2.1",
"nuxt-svg-loader": "^1.2.0",
"vue-chartjs": "^3.5.0",
"vue-scrollto": "^2.17.1",
"vue-spinner": "^1.0.3"
"vue-spinner": "^1.0.3",
"webpack": "^4.42.1"
},
"devDependencies": {
"@fullhuman/postcss-purgecss": "^2.1.0",
"@mdi/font": "^5.0.45",
"@nuxt/typescript-build": "^0.6.0",
"@nuxtjs/eslint-config-typescript": "^1.0.2",
Expand All @@ -63,23 +67,25 @@
"@types/chart.js": "^2.9.14",
"@vue/test-utils": "^1.0.0-beta.27",
"babel-jest": "^24.1.0",
"css-loader": "^3.4.2",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-tsdoc": "^0.2.3",
"file-loader": "^6.0.0",
"husky": "^4.2.3",
"jest": "^24.1.0",
"lint-staged": "^10.0.8",
"nodemon": "^1.18.9",
"nuxt-purgecss": "^0.2.1",
"nuxt-svg-loader": "^1.2.0",
"prettier": "^1.19.1",
"rimraf": "^3.0.2",
"stylelint": "^13.2.0",
"stylelint-config-prettier": "^8.0.1",
"stylelint-config-standard": "^20.0.0",
"stylelint-scss": "^3.15.0",
"url-loader": "^4.0.0",
"vue-axe": "^1.0.8",
"vue-jest": "^4.0.0-0"
"vue-jest": "^4.0.0-0",
"vue-loader": "^15.9.1"
}
}
Loading

0 comments on commit 0ae38ac

Please sign in to comment.