forked from ReactiveDB/core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
133 lines (133 loc) · 5.13 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
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
121
122
123
124
125
126
127
128
129
130
131
132
133
{
"name": "reactivedb",
"version": "0.11.0",
"description": "Reactive ORM for Lovefield",
"main": "dist/cjs/index.js",
"scripts": {
"build_all": "npm-run-all build_cjs build_module_es build_test",
"build_cjs": "npm-run-all clean_dist_cjs copy_src_cjs compile_cjs",
"build_module_es": "npm-run-all clean_dist_es copy_src_es compile_module_es",
"build_test": "rm -rf spec-js && tsc -p test/tsconfig.json",
"clean_dist_cjs": "rm -rf ./dist/cjs",
"clean_dist_es": "rm -rf ./dist/es",
"check_circular_dependencies": "madge ./dist/cjs --circular",
"compile_cjs": " tsc dist/cjs/src/index.ts dist/cjs/src/proxy/index.ts -m commonjs --outDir dist/cjs --sourcemap --target ES5 -d --diagnostics --pretty --strict --noImplicitReturns --noUnusedLocals --noUnusedParameters --strict --suppressImplicitAnyIndexErrors --moduleResolution node --noEmitHelpers --importHelpers --lib es5,es2015,es2016,es2017",
"compile_module_es": "tsc dist/es/src/index.ts dist/es/src/proxy/index.ts -m ES2015 --outDir dist/es --sourcemap --target ES5 -d --diagnostics --pretty --strict --noImplicitReturns --noUnusedLocals --noUnusedParameters --strict --suppressImplicitAnyIndexErrors --moduleResolution node --noEmitHelpers --importHelpers --lib es5,es2015,es2016,es2017",
"copy_src_cjs": "shx mkdir -p ./dist/cjs/src && shx cp -r ./src/* ./dist/cjs/src",
"copy_src_es": "shx mkdir -p ./dist/es/src && shx cp -r ./src/* ./dist/es/src",
"cover": "rm -rf ./.nyc_output ./coverage && NODE_ENV=test nyc --reporter=html --reporter=lcov --exclude=node_modules --exclude=spec-js/test --exclude=spec-js/src/storage/lovefield.js --exclude=spec-js/src/shared/Logger.js --exclude=spec-js/src/utils/option.js --exclude=spec-js/src/utils/valid.js --exclude=spec-js/src/addons/aggresive-optimizer.js tman --mocha spec-js/test/run.js && nyc report",
"lint": "tslint -c tslint.json src/*.ts --project ./tsconfig.json \"src/**/*.ts\" \"./test/**/*.ts\" -e \"./test/e2e/*.ts\"",
"publish_all": "ts-node ./tools/publish.ts",
"start": "webpack-dev-server --inline --colors --progress --port 3000",
"start-demo": "webpack-dev-server --config ./example/webpack.config.js --inline --colors --progress --port 3001 --open",
"test": "npm run lint && NODE_ENV=test tman --mocha spec-js/test/run.js",
"test_O1": "npm run lint && NODE_ENV=test optimize=true tman --mocha spec-js/test/run.js",
"version": "ts-node tools/version.ts && git add .",
"watch": "NODE_ENV=test ts-node ./tools/watch.ts & npm run watch_test",
"watch_cjs": "tsc src/index.ts -m commonjs --outDir dist --sourcemap --target ES5 -d --diagnostics --pretty --strict --noImplicitReturns --suppressImplicitAnyIndexErrors --moduleResolution node --noEmitHelpers --lib es5,es2015,es2016,es2017 -w",
"watch_test": "tsc -p test/tsconfig.json -w --diagnostics --pretty"
},
"keywords": [
"lovefield",
"RxJS",
"TypeScript",
"reactivedb",
"orm",
"orm-library",
"relational-database"
],
"author": "LongYinan <[email protected]>",
"maintainers": [
{
"name": "LongYinan",
"email": "[email protected]"
},
{
"name": "Saviio",
"email": "[email protected]"
},
{
"name": "chuan6",
"email": "[email protected]"
},
{
"name": "Miloas",
"email": "[email protected]"
}
],
"bugs": {
"url": "https://github.com/ReactiveDB/core/issues"
},
"license": "MIT",
"devDependencies": {
"@types/chai": "^4.1.7",
"@types/chai-string": "^1.4.1",
"@types/node": "^12.7.1",
"@types/shelljs": "^0.8.2",
"@types/sinon": "^7.0.5",
"@types/sinon-chai": "^3.2.2",
"chai": "^4.2.0",
"chai-string": "^1.5.0",
"coveralls": "^3.0.6",
"css-loader": "^3.0.0",
"extract-text-webpack-plugin": "^4.0.0-beta.0",
"html-webpack-plugin": "^3.2.0",
"husky": "^3.0.1",
"lint-staged": "^9.0.0",
"madge": "^3.4.3",
"moment": "^2.24.0",
"node-watch": "^0.6.0",
"npm-run-all": "^4.1.5",
"nyc": "^13.1.0",
"prettier": "^1.16.3",
"raw-loader": "^3.0.0",
"rxjs": "^6.4.0",
"shelljs": "^0.8.3",
"shx": "^0.3.2",
"sinon": "^7.2.3",
"sinon-chai": "^3.3.0",
"source-map-loader": "^0.2.4",
"style-loader": "^1.0.0",
"tman": "^1.8.1",
"ts-loader": "^5.3.3",
"ts-node": "^8.0.2",
"tslint": "^5.12.1",
"tslint-config-prettier": "^1.17.0",
"tslint-eslint-rules": "^5.4.0",
"tslint-loader": "^3.6.0",
"typescript": "^3.3.1",
"webpack": "^4.40.2",
"webpack-cli": "^3.2.1",
"webpack-dev-server": "^3.1.14"
},
"dependencies": {
"@types/lovefield": "^2.1.2",
"lovefield": "2.1.12",
"nesthydrationjs": "^1.0.5"
},
"peerDependencies": {
"rxjs": "^6.0.0",
"tslib": "^1.9.0"
},
"typings": "./index.d.ts",
"prettier": {
"printWidth": 120,
"semi": false,
"trailingComma": "all",
"singleQuote": true,
"arrowParens": "always",
"parser": "typescript"
},
"lint-staged": {
"*.ts": [
"prettier --write",
"tslint -c tslint.json -p tsconfig.json --fix",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}