-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
94 lines (94 loc) · 2.9 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
89
90
91
92
93
94
{
"name": "js-data-sql",
"description": "Postgres/MySQL/MariaDB/SQLite3 adapter for js-data.",
"version": "1.0.1",
"homepage": "https://github.com/js-data/js-data-sql",
"repository": {
"type": "git",
"url": "https://github.com/js-data/js-data-sql.git"
},
"author": "js-data-sql project authors",
"license": "MIT",
"main": "./dist/js-data-sql.js",
"typings": "./dist/js-data-sql.d.ts",
"files": [
"dist/",
"src/",
"AUTHORS",
"CONTRIBUTORS"
],
"keywords": [
"data",
"datastore",
"store",
"database",
"adapter",
"sql",
"mysql",
"postgres",
"mariadb",
"sqlite"
],
"standard": {
"parser": "babel-eslint",
"globals": [
"describe",
"it",
"sinon",
"assert",
"before",
"after",
"beforeEach",
"afterEach"
],
"ignore": [
"dist/"
]
},
"scripts": {
"lint": "standard '**/*.js'",
"bundle": "rollup src/index.js -c -o dist/js-data-sql.js -m dist/js-data-sql.js.map -f cjs && repo-tools write-version dist/js-data-sql.js",
"doc": "jsdoc -c conf.json src node_modules/js-data-adapter/src",
"build": "npm run lint && npm run bundle",
"mocha-sqlite3": "DB_CLIENT=sqlite3 DB_FILE=\"./test.db\" mocha -t 30000 -R dot -r source-map-support/register mocha.start.js",
"mocha-mysql": "DB_CLIENT=mysql mocha -t 30000 -R dot -r babel-core/register -r babel-polyfill mocha.start.js",
"mocha-pg": "DB_CLIENT=pg mocha -t 30000 -R dot -r babel-core/register -r babel-polyfill mocha.start.js",
"mocha-all": "npm run mocha-mysql && npm run mocha-pg",
"cover": "nyc --require babel-core/register --require babel-polyfill --cache mocha -t 20000 -R dot mocha.start.js && nyc report --reporter=html",
"test": "npm run build && npm run cover",
"release": "npm test && npm run doc && repo-tools changelog && repo-tools authors",
"create-migration": "knex --cwd=test migrate:make",
"migrate-db": "knex --cwd=test migrate:latest",
"rollback-db": "knex --cwd=test migrate:rollback"
},
"dependencies": {
"js-data": ">=3.0.0",
"js-data-adapter": "1.0.0",
"knex": ">=0.13.0",
"lodash.snakecase": "4.1.1",
"lodash.tostring": "4.1.4"
},
"peerDependencies": {
"js-data": ">=3.0.0",
"knex": ">=0.13.0"
},
"devDependencies": {
"babel-core": "6.26.0",
"babel-eslint": "7.2.3",
"babel-plugin-external-helpers": "6.22.0",
"babel-plugin-syntax-async-functions": "6.13.0",
"babel-plugin-transform-regenerator": "6.26.0",
"babel-polyfill": "6.26.0",
"babel-preset-es2015": "6.24.1",
"chai": "4.1.1",
"ink-docstrap": "git+https://github.com/js-data/docstrap.git#cfbe45fa313e1628c493076d5e15d2b855dfbf2c",
"js-data-repo-tools": "1.0.0",
"jsdoc": "3.5.4",
"mocha": "3.5.0",
"nyc": "11.1.0",
"rollup": "0.47.6",
"rollup-plugin-babel": "3.0.2",
"sinon": "3.2.1",
"standard": "10.0.3"
}
}