-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
87 lines (87 loc) · 3.58 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
{
"name": "firenze",
"version": "0.6.0",
"description": "ORM for relational databases.",
"main": "index.js",
"scripts": {
"babel": "babel src --out-dir lib",
"babel:watch": "babel --watch src --out-dir lib",
"lint": "eslint src bin test --ignore-path .gitignore",
"mocha": "npm run mocha:mysql",
"mocha:mysql": "FIRENZE_CONFIG=Mysql mocha --require ./test/setup.js --compilers js:babel-register test/cases/**/*.js",
"mocha:mysql-travis": "FIRENZE_CONFIG=Mysql mocha --require ./test/setup.js --compilers js:babel-register test/cases/**/*.js --grep rollback --invert",
"mocha:memory": "FIRENZE_CONFIG=Memory mocha --require ./test/setup.js --compilers js:babel-register --grep '(JOIN|expression|distinct|OR|NOT|Migration|transaction)' --invert test/cases/**/*.js",
"test": "run-scripts clean lint babel mocha",
"istanbul": "istanbul cover ./node_modules/mocha/bin/_mocha -- --require ./test/setup.js --compilers js:babel-register test/cases/**/*.js",
"coveralls": "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls",
"coverage": "run-scripts istanbul coveralls",
"dist:lib": "webpack --config ./dist/firenze.config.js",
"dist:full": "webpack --config ./dist/firenze.full.config.js",
"dist:commit": "git add dist/* && git commit -m dist",
"uglify:lib": "uglifyjs dist/firenze.js -o dist/firenze.min.js",
"uglify:full": "uglifyjs dist/firenze.full.js -o dist/firenze.full.min.js",
"dist": "run-scripts dist:lib dist:full uglify:lib uglify:full",
"clean": "run-scripts migrations:clean docs:clean",
"migrations:clean": "rimraf test/_migrations",
"docs:prepare": "gitbook install",
"docs:clean": "rimraf _book",
"docs:build": "npm run docs:prepare && gitbook build -g fahad19/firenze",
"docs:watch": "npm run docs:prepare && gitbook serve",
"docs:publish": "npm run docs:clean && npm run docs:build && cd _book && git init && git commit --allow-empty -m 'update book' && git checkout -b gh-pages && touch .nojekyll && git add . && git commit -am 'update book' && git push git@github.com:fahad19/firenze gh-pages --force",
"version:patch": "npm version patch",
"version:minor": "npm version minor",
"version:major": "npm version major",
"release:pre": "run-scripts test dist clean dist:commit",
"release:post": "npm publish && git push --follow-tags && npm run docs:publish",
"release": "run-scripts release:pre version:patch release:post"
},
"repository": {
"type": "git",
"url": "https://github.com/fahad19/firenze.git"
},
"keywords": [
"firenze",
"orm",
"mysql",
"database",
"models"
],
"author": "Fahad Ibnay Heylaal",
"bin": "./bin/index.js",
"license": "MIT",
"bugs": {
"url": "https://github.com/fahad19/firenze/issues"
},
"homepage": "https://github.com/fahad19/firenze",
"devDependencies": {
"babel": "~6.3.26",
"babel-cli": "~6.3.17",
"babel-eslint": "~5.0.0-beta6",
"babel-preset-es2015": "~6.3.13",
"babel-preset-stage-0": "~6.3.13",
"babel-register": "~6.3.13",
"coveralls": "~2.11.6",
"eslint": "~1.10.3",
"gitbook-cli": "~1.0.1",
"istanbul": "~0.4.1",
"knex": "~0.9.0",
"mocha": "~2.3.4",
"mysql": "~2.10.0",
"node-libs-browser": "~0.5.3",
"rimraf": "~2.5.0",
"run-scripts": "~0.4.0",
"should": "~7.1.1",
"should-promised": "~0.3.1",
"uglify-js": "~2.6.1",
"webpack": "~1.12.9"
},
"dependencies": {
"async": "~1.5.0",
"bluebird": "~3.1.1",
"chalk": "~1.1.1",
"get-params": "~0.1.2",
"lodash": "~3.10.1",
"validator": "~4.4.0",
"yargs": "~3.31.0"
}
}