Skip to content
Snippets Groups Projects
Commit 37e7792a authored by Sam Galson's avatar Sam Galson
Browse files

Initial commit

parents
No related branches found
No related tags found
No related merge requests found
{
"extends": ["standard"],
"env": {
"es6": true,
"node": true
},
"parserOptions": {
"ecmaVersion": 2017
}
}
# Created by https://www.gitignore.io/api/osx,node
### OSX ###
*.DS_Store
.AppleDouble
.LSOverride
# Icon must end with two \r
Icon
# Thumbnails
._*
# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
### Node ###
# Logs
*.log
npm-debug.log*
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
# nyc test coverage
.nyc_output
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# node-waf configuration
.lock-wscript
# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules
jspm_packages
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# IDEs
.idea
# pubsweet-specific
myapp
testapp
.vscode
.wallaby.js
\ No newline at end of file
.nvmrc 0 → 100644
7.9
Copyright (c) 2015 Adam Hyde
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
[![MIT license](https://img.shields.io/badge/license-MIT-e51879.svg)](https://gitlab.coko.foundation/pubsweet/db-manager/raw/master/LICENSE)
[![npm](https://img.shields.io/npm/v/pubsweet.svg)](https://npmjs.com/package/@pubsweet/db-manager)
[![build status](https://gitlab.coko.foundation/yld/db-manager/badges/master/build.svg)](https://gitlab.coko.foundation/yld/db-manager/commits/master)
[![coverage report](https://gitlab.coko.foundation/yld/db-manager/badges/master/coverage.svg)](https://gitlab.coko.foundation/yld/db-manager/commits/master)
[![code style standard](https://img.shields.io/badge/code%20style-standard-green.svg)](https://standardjs.com/)
[![mattermost chat](https://img.shields.io/badge/mattermost_chat-coko%2Fpubsweet-blue.svg)](https://mattermost.coko.foundation/coko/channels/pubsweet)
# db-manager
Provides database management utilities to Pubsweet apps.
## Usage
image: pubsweet/pubsweet-test-base
cache:
paths:
- node_modules/
before_script:
- yarn
test:lint:
script:
- npm run lint
test:vulnerabilities:
script:
- npm run vuln-test
test:node:
script:
- npm test
coverage: /All files[^|]*\|[^|]*\s+([\d\.]+)/
publish:
stage: deploy
only:
- tags
- triggers
script:
- echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}'>.npmrc
- npm publish --access=public
{
"name": "@pubsweet/db-manager",
"version": "0.0.1",
"description": "Provides database management utilities to Pubsweet apps.",
"main": "src/index.js",
"scripts": {
"test": "NODE_ENV=test jest --runInBand --no-cache",
"lint": "eslint src test",
"vuln-test": "nsp check --output checkstyle"
},
"repository": {
"type": "git",
"url": "git@gitlab.coko.foundation:yld/db-manager.git"
},
"keywords": [
"pubsweet",
"database"
],
"engines": {
"node": ">=7.9.0",
"npm": ">=3.0.0"
},
"jest": {
"testMatch": [
"**/test/**/*.js"
],
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.js"
],
"modulePaths": [
"<rootDir>/node_modules"
],
"testEnvironment": "node",
"verbose": true
},
"author": "Samuel Galson",
"license": "MIT",
"devDependencies": {
"jest": "^21.1.0",
"nsp": "^2.8.0",
"standard": "^10.0.3"
}
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment