-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
134 lines (134 loc) · 5.21 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
134
{
"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 --skipLibCheck --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 --skipLibCheck --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 && cross-env 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": "cross-env 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 <lynweklm@gmail.com>",
"maintainers": [
{
"name": "LongYinan",
"email": "lynweklm@gmail.com"
},
{
"name": "Saviio",
"email": "sirius0x9@gmail.com"
},
{
"name": "chuan6",
"email": "chuan6.dev@gmail.com"
},
{
"name": "Miloas",
"email": "genesis.null@gmail.com"
}
],
"bugs": {
"url": "https://github.com/ReactiveDB/core/issues"
},
"license": "MIT",
"devDependencies": {
"@types/chai": "^4.2.21",
"@types/chai-string": "^1.4.2",
"@types/node": "^16.4.13",
"@types/shelljs": "^0.8.9",
"@types/sinon": "^17.0.0",
"@types/sinon-chai": "^3.2.5",
"chai": "^4.3.4",
"chai-string": "^1.5.0",
"codecov": "^3.8.3",
"cross-env": "^7.0.3",
"css-loader": "^6.2.0",
"extract-text-webpack-plugin": "^4.0.0-beta.0",
"html-webpack-plugin": "^5.3.2",
"husky": "^8.0.0",
"lint-staged": "^11.1.2",
"madge": "^6.0.0",
"moment": "^2.29.1",
"node-watch": "^0.7.1",
"npm-run-all2": "^5.0.0",
"nyc": "^15.1.0",
"prettier": "^3.0.0",
"raw-loader": "^4.0.2",
"rxjs": "^7.3.0",
"shelljs": "^0.8.4",
"shx": "^0.3.3",
"sinon": "^17.0.0",
"sinon-chai": "^3.7.0",
"source-map-loader": "^3.0.0",
"style-loader": "^3.2.1",
"tman": "^1.10.0",
"ts-loader": "^9.2.5",
"ts-node": "^10.2.0",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"tslint-eslint-rules": "^5.4.0",
"tslint-loader": "^3.6.0",
"typescript": "^4.3.5",
"webpack": "^5.50.0",
"webpack-cli": "^4.7.2",
"webpack-dev-server": "^4.0.0"
},
"dependencies": {
"@types/lovefield": "^2.1.4",
"lovefield": "2.1.12",
"nesthydrationjs": "^2.0.0"
},
"peerDependencies": {
"rxjs": "^7.3.0",
"tslib": "^2.3.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"
}
}
}