-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
78 lines (78 loc) · 2.5 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
{
"name": "tlex",
"version": "0.0.73",
"author": "Sriram Panyam",
"description": "A lexical analyser and generator for typescript.",
"homepage": "https://github.com/panyam/tlex#readme",
"license": "ISC",
"types": "lib/cjs/index.d.ts",
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
"files": [
"lib/"
],
"repository": {
"type": "git",
"url": "git+https://github.com/panyam/tlex.git"
},
"keywords": [
"languages",
"parsing"
],
"bugs": {
"url": "https://github.com/panyam/tlex/issues"
},
"pre-commit": [
"precommit-msg",
"clean",
"lintfix",
"test"
],
"scripts": {
"clean": "rm -Rf sites/dist && rm -Rf lib && jest --clearCache && rm -rf static/lib",
"buildsites": "( cd sites/demo && npm run build ) ; ( cd sites/tutorial && npm run build )",
"buildall": "npm run clean && npm run buildsites && npm run docs && npm run build",
"build": "tsc -p tsconfig.json && tsc -p tsconfig-cjs.json",
"docs": "npx typedoc src/index.ts --name 'TLEX' --out './sites/dist/docs'",
"test": "jest --coverage --runInBand",
"start": "webpack-dev-server --mode=development",
"lint": "eslint './src' --quiet --ext .ts --resolve-plugins-relative-to .",
"lintfix": "eslint 'src/**/*.ts' --quiet --fix --resolve-plugins-relative-to .",
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"",
"precommit-msg": "echo 'Pre-commit checks...' && exit 0",
"prepare": "npm run build",
"prepublishOnly": "echo prepublishOnly...",
"preversion": "npm run build && npm run lintfix",
"version": "git add -A src",
"postversion": "git push && git push --tags",
"predeploy": "npm run buildall && cp app.yaml sites/dist && cp .gcloudignore sites/dist",
"deploy": "cd sites/dist ; gcloud app deploy --project tlexer --verbosity=info"
},
"dependencies": {
"@panyam/tsutils": "*"
},
"devDependencies": {
"@types/jest": "^29.2.4",
"@types/js-yaml": "^4.0.5",
"@typescript-eslint/eslint-plugin": "^5.46.1",
"babel-jest": "^29.3.1",
"codecov": "^3.8.3",
"eslint": "^8.30.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"jest": "^29.3.1",
"jest-each": "^29.3.1",
"jest-mock": "^29.3.1",
"js-yaml": "^4.1.0",
"pre-commit": "^1.2.2",
"prettier": "^2.8.1",
"ts-jest": "^29.0.3",
"typedoc": "^0.23.23",
"typescript": "^4.9.4",
"typescript-tslint-plugin": "^1.0.1"
},
"directories": {
"doc": "docs",
"lib": "lib"
}
}