-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
85 lines (85 loc) · 2.97 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
{
"name": "@scramjet/framework",
"version": "0.1.0",
"description": "Simple yet powerful live data computation framework.",
"main": "./dist/index.js",
"files": [
"dist"
],
"scripts": {
"build": "rm -rf ./build && npm run copy && tsc -p tsconfig.build.json",
"build:w": "npm run build -- -w",
"test": "npm run build && npm run test:run:unit && npm run test:run:bdd",
"test:unit": "npm run build && npm run test:run:unit",
"test:unit:w": "concurrently 'npm run build:w' 'sleep 8 && npm test:run:unit -- -w'",
"test:unit:d": "npm run build && npm run test:run:unit -- debug --break",
"test:bdd": "npm run build && npm run test:run:bdd",
"test:release": "cd test/release && ./run.sh",
"dist": "rm -rf ./dist && tsc && node scripts/prepare-readme.js && node scripts/prepare-package.js",
"lint": "eslint src/ test/ --ext .ts",
"lint:f": "eslint src/ test/ --ext .ts --fix",
"prepare": "husky install",
"coverage": "npm run coverage:generate && npx http-server coverage",
"coverage:generate": "npm run build && npm run coverage:ignore && npm run coverage:unit && npm run coverage:bdd && npm run coverage:report",
"coverage:check": "npm run build && npm run coverage:ignore && npm run coverage:unit && npm run coverage:bdd && nyc report --check-coverage",
"coverage:ignore": "node scripts/coverage-ignore.js",
"coverage:unit": "nyc --silent npm run test:run:unit && SCRAMJET_LOG=1 nyc --silent --no-clean npm run test:run:unit -- -m \"trace does not throw\"",
"coverage:bdd": "nyc --silent --no-clean npm run test:run:bdd",
"coverage:report": "nyc report --reporter=html",
"copy": "copyfiles -f test/bdd/features/*.feature build/test/bdd/features && copyfiles -f test/_assets/* build/test/_assets",
"test:run:unit": "npx ava",
"test:run:bdd": "npx cucumber-js build/test/bdd/features"
},
"author": "Scramjet <[email protected]>",
"license": "AGPL-3.0",
"devDependencies": {
"@cucumber/cucumber": "^8.0.0-rc.1",
"@types/assert": "^1.5.5",
"@types/node": "^15.14.9",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"assert": "^2.0.0",
"ava": "^3.15.0",
"concurrently": "^6.2.1",
"copyfiles": "^2.4.1",
"eslint": "^8.0.0",
"http-server": "^13.0.2",
"husky": "^7.0.2",
"nyc": "^15.1.0",
"typedoc": "0.20.28",
"typedoc-plugin-markdown": "3.4.5",
"typescript": "^4.3.5"
},
"ava": {
"extensions": [
"js"
],
"files": [
"build/test/unit/**/*.js",
"!build/test/**/helpers"
]
},
"nyc": {
"branches": 100,
"lines": 100,
"functions": 100,
"statements": 100,
"include": "build/src/",
"exclude": "build/test/**/*.js"
},
"private": true,
"keywords": [
"react",
"javascript",
"typescript",
"event-stream",
"stream",
"es6",
"promise",
"data-stream",
"reactive-programming",
"spark-streaming",
"stream2",
"transformations"
]
}