-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
95 lines (95 loc) · 2.37 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
{
"name": "cql-js-driver",
"version": "0.1.0",
"keywords": [
"CovenantSQL",
"driver",
"nodejs",
"database",
"blockchain",
"typescript"
],
"main": "dist/covenantsql-proxy.cjs.js",
"module": "dist/covenantsql-proxy.esm.js",
"browser": "dist/covenantsql-proxy.js",
"description": "A javascript driver for covenantsql run in web",
"dependencies": {
"@types/whatwg-fetch": "^0.0.33",
"sql92-string": "^1.0.1",
"whatwg-fetch": "^3.0.0"
},
"engines": {
"node": ">= 0.6"
},
"devDependencies": {
"@babel/core": "^7.1.2",
"@types/node": "^10.12.0",
"babel-jest": "^23.6.0",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
"codecov": "^3.1.0",
"concurrently": "^4.1.0",
"http-server": "^0.11.1",
"jest": "^23.6.0",
"rollup": "^0.66.0",
"rollup-plugin-commonjs": "^9.1.0",
"rollup-plugin-json": "^3.1.0",
"rollup-plugin-node-resolve": "^3.0.0",
"rollup-plugin-typescript2": "^0.17.2",
"typescript": "^3.1.3"
},
"scripts": {
"dev": "concurrently --kill-others \"npm run dev:rollup\" \"npm run dev:web\"",
"dev:rollup": "rollup -c rollup.config.ts -w",
"dev:web": "http-server",
"build": "rollup -c rollup.config.ts",
"test": "nodemon --watch 'src/**/*.ts' --ignore 'src/**/**.spec.ts' --exec 'ts-node' test/index.test.js",
"test:watch": "jest --watch",
"test:prod": "npm run lint && npm run test -- --coverage --no-cache",
"report-coverage": "jest --coverage --coverageReporters=text-lcov | codecov",
"pretest": "npm run build"
},
"jest": {
"transform": {
"^.+\\.js$": "babel-jest"
},
"testEnvironment": "node",
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/test/"
],
"coverageThreshold": {
"global": {
"branches": 0,
"functions": 0,
"lines": 0,
"statements": 0
}
},
"coverageReporters": [
"json",
"lcov",
"clover",
"html"
],
"coverageDirectory": "./coverage/",
"collectCoverage": true,
"collectCoverageFrom": [
"src/*.{js,ts}"
]
},
"prettier": {
"trailingComma": "es5",
"tabWidth": 2,
"semi": false,
"singleQuote": true
},
"files": [
"dist"
]
}