-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
88 lines (88 loc) · 2.23 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"name": "my-sql",
"version": "1.0.19",
"description": "Painless yet High-Performance query and transaction execution for large-scale APIs",
"main": "dist/index.js",
"author": "pubudud",
"license": "MIT",
"keywords": [
"mysql",
"performance",
"interface",
"wrapper",
"sql",
"easy",
"smart",
"database",
"my-sql",
"promise",
"zero-configuration",
"zero-config",
"security",
"pluggable",
"middleware",
"modifiers",
"transaction"
],
"url": "https://github.com/pupudu/my-sql/issues",
"email": "pubudu.dodan@gmail.com",
"repository": {
"type": "git",
"url": "https://github.com/pupudu/my-sql.git"
},
"scripts": {
"start": "gulp && node dist/tester.js",
"pre-push-dependencies": "npm install",
"eslint": "eslint 'src/**/*.js'",
"eslint-fix": "eslint 'src/**/*.js' --fix",
"git-uncommited-changes": "git diff --quiet --cached",
"git-unstaged-changes": "git diff --quiet",
"git-branch": "bash git-hooks/branch.sh",
"lint-staged": "lint-staged",
"test": "NODE_ENV='test' STRATEGY='unit' nyc --reporter=html --reporter=text mocha 'src/**/*.test.js' --compilers js:babel-core/register --reporter spec --timeout 10000 --recursive",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"prepublish": "npm test && npm run eslint && gulp"
},
"dependencies": {
"mysql": "^2.14.1"
},
"devDependencies": {
"babel-core": "^6.26.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-es2015": "^6.24.0",
"babel-preset-node6": "^11.0.0",
"chai": "^4.1.2",
"coveralls": "^2.13.1",
"eslint": "^4.6.0",
"eslint-plugin-prefer-object-spread": "^1.2.1",
"gulp": "^3.9.1",
"gulp-babel": "^7.0.0",
"lint-staged": "^4.0.4",
"mocha": "^3.5.0",
"nyc": "^11.1.0",
"pre-commit": "^1.2.2",
"pre-push": "^0.1.1",
"sinon": "^3.2.1"
},
"pre-push": [
"eslint",
"git-unstaged-changes",
"git-uncommited-changes",
"git-branch",
"test"
],
"pre-commit": [
"git-branch",
"lint-staged"
],
"lint-staged": {
"src/**/*.js": [
"eslint --fix",
"git add"
],
"tests/**/*.js": [
"eslint --fix",
"git add"
]
}
}