forked from jcoreio/sequelize-validate-subfields
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
120 lines (120 loc) · 4.12 KB
/
package.json
File metadata and controls
120 lines (120 loc) · 4.12 KB
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
"name": "sequelize-validate-subfields",
"version": "0.0.0-development",
"description": "simple framework for validating subfields of JSON attributes of Sequelize models",
"main": "index.js",
"sideEffects": false,
"scripts": {
"lint": "eslint src test --cache",
"lint:fix": "eslint --fix src test --cache",
"prettier": "prettier --write *.json *.md *.js '{src,test}/**/*.js'",
"prettier:check": "prettier --list-different *.json *.md *.js '{src,test}/**/*.js'",
"flow": "flow",
"flow:coverage": "for file in src/**.js test/**.js; do echo $file; flow coverage $file; done",
"clean": "rimraf es lib $(cd src; ls) *.js.flow",
"build": "npm run clean && babel src --out-dir es && flow-copy-source -v src/ es && cross-env BABEL_ENV=es5 babel src --out-dir . && flow-copy-source -v src/ .",
"test": "cross-env NODE_ENV=test BABEL_ENV=es5 mocha $npm_package_config_mocha && cross-env NODE_ENV=test BABEL_ENV=coverage nyc --reporter=lcov --reporter=text mocha $npm_package_config_mocha",
"test:watch": "cross-env NODE_ENV=test BABEL_ENV=test mocha --watch $npm_package_config_mocha",
"test:debug": "cross-env NODE_ENV=test BABEL_ENV=test mocha --inspect-brk $npm_package_config_mocha",
"codecov": "nyc report --reporter=text-lcov > coverage.lcov; codecov",
"prepublishOnly": "npm run clean && npm run prettier:check && npm run lint && flow && npm test && npm run build",
"open:coverage": "open coverage/lcov-report/index.html",
"semantic-release": "semantic-release"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm run lint && flow",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-push": "npm test"
}
},
"lint-staged": {
"*.{js,json,css,md}": [
"prettier --write"
]
},
"commitlint": {
"extends": [
"@jedwards1211/commitlint-config"
]
},
"prettier": {
"semi": false,
"singleQuote": true,
"trailingComma": "es5"
},
"config": {
"mocha": "-r @babel/register test/configure.js 'test/**/*.js'",
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"nyc": {
"include": [
"src/**/*.js"
],
"require": [
"@babel/register"
],
"sourceMap": false,
"instrument": false
},
"repository": {
"type": "git",
"url": "https://github.com/jcoreio/sequelize-validate-subfields.git"
},
"keywords": [
"es2015"
],
"author": "Andy Edwards",
"license": "MIT",
"bugs": {
"url": "https://github.com/jcoreio/sequelize-validate-subfields/issues"
},
"homepage": "https://github.com/jcoreio/sequelize-validate-subfields#readme",
"devDependencies": {
"@babel/cli": "^7.12.10",
"@babel/core": "^7.12.10",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-proposal-export-default-from": "^7.12.1",
"@babel/plugin-proposal-export-namespace-from": "^7.12.1",
"@babel/plugin-proposal-object-rest-spread": "^7.12.1",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.12.10",
"@babel/preset-env": "^7.12.10",
"@babel/preset-flow": "^7.12.1",
"@babel/register": "^7.12.10",
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@jedwards1211/commitlint-config": "^1.0.2",
"@jedwards1211/eslint-config": "^2.0.2",
"@jedwards1211/eslint-config-flow": "^3.0.0",
"babel-eslint": "^10.1.0",
"babel-plugin-istanbul": "^6.0.0",
"chai": "^4.2.0",
"codecov": "^3.8.1",
"copy": "^0.3.2",
"cross-env": "^7.0.3",
"eslint": "^7.15.0",
"eslint-config-prettier": "^7.0.0",
"eslint-plugin-flowtype": "^5.2.0",
"flow-bin": "^0.141.0",
"flow-copy-source": "https://github.com/jedwards1211/flow-copy-source#no-watch",
"husky": "^4.3.6",
"istanbul": "^0.4.5",
"lint-staged": "^10.5.3",
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"prettier": "^2.2.1",
"prettier-eslint": "^12.0.0",
"rimraf": "^3.0.2",
"semantic-release": "^17.3.0",
"sequelize": "^6.3.5"
},
"dependencies": {
"@babel/runtime": "^7.12.5"
},
"peerDependencies": {
"sequelize": "^4.0.0 || ^5.0.0 || ^6.0.0"
}
}