@nuxtjs/router
Advanced tools
Comparing version 1.1.0 to 1.1.2
{ | ||
"name": "@nuxtjs/router", | ||
"version": "1.1.0", | ||
"version": "1.1.2", | ||
"description": "Nuxt module to use router.js instead of pages/ directory", | ||
"license": "MIT", | ||
"contributors": [ | ||
{ | ||
"name": "Sebastien Chopin <seb@chopin.io>" | ||
} | ||
"Sebastien Chopin <seb@chopin.io>", | ||
"Ricardo Gobbo de Souza <ricardogobbosouza@yahoo.com.br>" | ||
], | ||
"main": "dist/index.js", | ||
"main": "lib/module.js", | ||
"repository": "https://github.com/nuxt-community/router-module", | ||
@@ -17,33 +16,61 @@ "publishConfig": { | ||
"scripts": { | ||
"build": "nuxt-module", | ||
"watch": "nuxt-module --watch", | ||
"lint": "eslint lib src", | ||
"lint-fix": "eslint --fix lib src", | ||
"test": "NODE_ENV=test npm run build && npm run lint && jest", | ||
"release": "standard-version && git push --follow-tags && npm publish", | ||
"prepare": "npm run build" | ||
"lint": "eslint lib test", | ||
"test": "npm run lint && jest", | ||
"release": "standard-version && git push --follow-tags && npm publish" | ||
}, | ||
"eslintIgnore": [ | ||
"*.template.*" | ||
], | ||
"files": [ | ||
"lib", | ||
"src", | ||
"dist", | ||
"templates" | ||
"lib" | ||
], | ||
"babel": { | ||
"presets": [ | ||
[ | ||
"@babel/preset-env", | ||
{ | ||
"targets": { | ||
"esmodules": true | ||
} | ||
} | ||
] | ||
] | ||
}, | ||
"jest": { | ||
"testEnvironment": "node", | ||
"coverageDirectory": "./coverage/", | ||
"collectCoverage": true, | ||
"collectCoverageFrom": [ | ||
"lib", | ||
"src" | ||
] | ||
"lib/**/*.js" | ||
], | ||
"moduleNameMapper": { | ||
"^~/(.*)$": "<rootDir>/lib/$1", | ||
"^~~$": "<rootDir>", | ||
"^@@$": "<rootDir>", | ||
"^@/(.*)$": "<rootDir>/lib/$1" | ||
}, | ||
"transform": { | ||
"^.+\\.js$": "babel-jest" | ||
} | ||
}, | ||
"dependencies": { | ||
"consola": "^2.4.0" | ||
}, | ||
"devDependencies": { | ||
"jest-cli": "^23.4.2", | ||
"nuxt": "^1.4.2", | ||
"nuxt-module-builder": "latest" | ||
"@babel/core": "^7.2.2", | ||
"@babel/preset-env": "^7.3.1", | ||
"babel-core": "^7.0.0-bridge", | ||
"babel-eslint": "^10.0.1", | ||
"babel-jest": "^23.6.0", | ||
"codecov": "^3.1.0", | ||
"eslint": "^5.13.0", | ||
"eslint-config-standard": "^12.0.0", | ||
"eslint-plugin-import": "^2.16.0", | ||
"eslint-plugin-jest": "^22.2.2", | ||
"eslint-plugin-node": "^8.0.1", | ||
"eslint-plugin-promise": "^4.0.1", | ||
"eslint-plugin-standard": "^4.0.0", | ||
"eslint-plugin-vue": "^5.1.0", | ||
"jest": "^23.6.0", | ||
"nuxt": "^2.4.2", | ||
"request": "^2.88.0", | ||
"request-promise-native": "^1.0.5", | ||
"standard-version": "^4.4.0" | ||
} | ||
} |
@@ -106,2 +106,5 @@ # Nuxt Router Module | ||
### Customize Routes Directory or Filename | ||
If you use the module with fileName `{fileName: 'my-router.js'}` and/or `{path: 'custom-dir'}` you can customize the location of you route files. | ||
## License | ||
@@ -108,0 +111,0 @@ |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
8571
114
2
1
19
5
49
1
+ Addedconsola@^2.4.0
+ Addedconsola@2.15.3(transitive)