-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
71 lines (71 loc) · 2.15 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"name": "bookshelf-mask",
"version": "2.0.1",
"description": "Mask Bookshelf.js models with json-mask",
"license": "MIT",
"author": {
"name": "Ricardo Gama",
"email": "ricardo@seegno.com",
"url": "https://github.com/ricardogama"
},
"homepage": "http://seegno.github.io/bookshelf-mask",
"bugs": {
"url": "https://github.com/seegno/bookshelf-mask/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/seegno/bookshelf-mask.git"
},
"main": "./dist/index.js",
"keywords": [
"bookshelf",
"model",
"mask",
"hide",
"fields",
"visibility"
],
"options": {
"mocha": "--compilers js:babel-register --bail --require should test"
},
"scripts": {
"build": "rm -rf dist && babel src --out-dir dist",
"changelog": "github_changelog_generator --bug-labels --enhancement-labels --future-release=$npm_config_release --header-label='# Changelog'",
"cover": "NODE_ENV=test nyc mocha $npm_package_options_mocha",
"coveralls": "npm run cover && cat ./test/coverage/lcov.info | coveralls",
"lint": "git diff --cached --name-only --diff-filter=ACMRTUXB | grep -E '\\.(js)(\\..+)?$' | xargs eslint",
"release": "npm run changelog && npm run version && npm run build && git add -A && git commit -n -m \"Release $npm_config_release\"",
"test": "mocha $npm_package_options_mocha",
"version": "sed -i '' 's/\\(\"version\": \"\\)'\"$npm_package_version\"'\\(\"\\)/\\1'\"$npm_config_release\"'\\2/' package.json"
},
"dependencies": {
"json-mask": "^0.3.8"
},
"peerDependencies": {
"bookshelf": ">= 0.7"
},
"devDependencies": {
"babel-cli": "6.18.0",
"babel-plugin-add-module-exports": "0.2.1",
"babel-plugin-istanbul": "2.0.3",
"babel-preset-es2015-node": "4.0.2",
"babel-preset-stage-3": "6.17.0",
"babel-register": "6.18.0",
"bookshelf": "0.10.2",
"coveralls": "2.11.14",
"eslint": "3.8.1",
"eslint-config-seegno": "8.0.0",
"knex": "0.12.6",
"mocha": "3.1.2",
"nyc": "8.3.2",
"pg": "6.1.0",
"pre-commit": "1.1.3",
"should": "11.1.1"
},
"engines": {
"node": ">= 4"
},
"pre-commit": [
"lint"
]
}