-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
73 lines (73 loc) · 2.02 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
{
"name": "brisk-cli",
"version": "0.1.2",
"description": "Brisk Compiler",
"main": "./dist/brisk.js",
"author": "spotandjake",
"license": "Apache-2.0",
"type": "module",
"repository": {
"type": "git",
"url": "https://github.com/spotandjake/Brisk.git"
},
"scripts": {
"start": "yarn build && yarn run run",
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
"testCoverage": "node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage",
"WasmToText": "wasm2wat --output=test.wat --fold-exprs --enable-code-metadata",
"buildLinker": "grain compile ./BriskLinker/index.gr --release",
"build": "gulp build",
"run": "node --enable-source-maps ./dist/brisk.js",
"injectExtension": " gulp injectExtension",
"clean": "rm -r ./dist/*",
"typecheck": "tsc --project tsconfig.json",
"lint": "eslint src/** --no-error-on-unmatched-pattern",
"mock": "gulp mock && node --enable-source-maps ./__tests__/dist/Data.js"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.ts"
],
"preset": "ts-jest",
"extensionsToTreatAsEsm": [
".ts"
],
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.js$": "$1",
"^@brisk/(.*)$": "<rootDir>/__tests__/mocks/$1"
},
"testMatch": [
"**/__tests__/**/*.test.ts"
],
"transform": {
"^.+\\.tsx?$": [
"ts-jest",
{
"useESM": true
}
]
}
},
"devDependencies": {
"@jest/globals": "^29.3.1",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-wasm": "^6.0.1",
"@swc/core": "^1.3.14",
"@types/jest": "^29.2.2",
"@types/node": "^18.11.9",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"eslint": "^8.27.0",
"gulp": "^4.0.2",
"jest": "^29.3.1",
"prettier": "^2.7.1",
"rollup": "^3.2.5",
"ts-jest": "^29.0.3",
"typescript": "^4.8.4"
},
"dependencies": {
"chevrotain": "^10.4.1",
"commander": "^9.4.1",
"wasi": "^0.0.6"
}
}