Skip to content
This repository was archived by the owner on Jul 10, 2019. It is now read-only.

Commit 125d443

Browse files
authored
Merge pull request #3 from hisasann/chore/change-nuxt-version-to-v2.5.0
chore(nuxt): change nuxt version to v2.5.0
2 parents 76ef71f + 863c516 commit 125d443

File tree

3 files changed

+1079
-436
lines changed

3 files changed

+1079
-436
lines changed

package.json

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"version": "0.0.1",
55
"description": "My gnarly Nuxt.js project",
66
"scripts": {
7-
"dev": "cross-env NODE_ENV=development nuxt-ts",
8-
"build": "nuxt-ts build",
9-
"build:static": "nuxt-ts build --spa",
10-
"build:dev": "cross-env NODE_ENV=development nuxt-ts build",
11-
"build:stg": "cross-env NODE_ENV=staging nuxt-ts build",
12-
"build:prod": "cross-env NODE_ENV=production nuxt-ts build",
13-
"start": "nuxt-ts start",
7+
"dev": "cross-env NODE_ENV=development nuxt",
8+
"build": "nuxt build",
9+
"build:static": "nuxt build --spa",
10+
"build:dev": "cross-env NODE_ENV=development nuxt build",
11+
"build:stg": "cross-env NODE_ENV=staging nuxt build",
12+
"build:prod": "cross-env NODE_ENV=production nuxt build",
13+
"start": "nuxt start",
1414
"lint": "eslint --ext .js,.ts,.vue --ignore-path .gitignore .",
1515
"lintfix": "eslint --fix --ext .js,.ts,.vue --ignore-path .gitignore .",
1616
"precommit": "npm run lint",
@@ -43,23 +43,24 @@
4343
"url": "git+https://github.com/hisasann/typescript-nuxtjs-boilerplate.git"
4444
},
4545
"keywords": [
46-
"nuxt-ts",
46+
"nuxt",
4747
"typescript"
4848
],
4949
"bugs": {
5050
"url": "https://github.com/hisasann/typescript-nuxtjs-boilerplate/issues"
5151
},
5252
"dependencies": {
53+
"@nuxt/typescript": "^2.5.1",
5354
"@nuxtjs/axios": "^5.4.1",
5455
"@nuxtjs/pwa": "^3.0.0-beta.14",
5556
"@types/webpack": "^4.4.26",
5657
"cross-env": "^5.2.0",
5758
"express": "^4.16.4",
5859
"js-cookie": "^2.2.0",
60+
"nuxt": "^2.5.1",
5961
"nuxt-client-init-module": "^0.1.4",
6062
"nuxt-env": "^0.1.0",
6163
"nuxt-property-decorator": "^2.1.3",
62-
"nuxt-ts": "^2.4.5",
6364
"vue-lazyload": "^1.2.6"
6465
},
6566
"devDependencies": {

tsconfig.json

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"extends": "@nuxt/typescript",
32
"compilerOptions": {
43
"allowJs": true,
54
"baseUrl": ".",
@@ -16,7 +15,12 @@
1615
"@/*": [
1716
"src/*"
1817
],
19-
"*": ["types/*"]
18+
"~/*": [
19+
"./*"
20+
],
21+
"*": [
22+
"types/*"
23+
]
2024
},
2125
"sourceMap": true,
2226
"strictNullChecks": true,
@@ -27,8 +31,19 @@
2731
"@types/jest",
2832
"@types/webpack",
2933
"@nuxt/vue-app"
30-
]
34+
],
35+
"esModuleInterop": true,
36+
"strict": true,
37+
"noImplicitAny": false,
38+
"noEmit": true
3139
},
32-
"include": ["src/**/*.ts", "src/**/*.vue", "types/**/*.d.ts"],
33-
"exclude": ["node_modules", "stories"]
40+
"include": [
41+
"src/**/*.ts",
42+
"src/**/*.vue",
43+
"types/**/*.d.ts"
44+
],
45+
"exclude": [
46+
"node_modules",
47+
"stories"
48+
]
3449
}

0 commit comments

Comments
 (0)