/
package.json
111 lines (111 loc) · 3.09 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
{
"name": "kataw",
"version": "0.0.79",
"description": "A insane fast CST based Javascript toolchain",
"main": "dist/kataw.umd.min.js",
"module": "dist/kataw.esm.min.js",
"jsnext:main": "dist/kataw.esm.min.js",
"browser": "dist/kataw.umd.min.js",
"types": "dist/kataw.d.ts",
"typings": "dist/kataw.d.ts",
"author": "KFlash",
"license": "ISC",
"homepage": "https://github.com/kataw/kataw",
"repository": {
"type": "git",
"url": "https://github.com/kataw/kataw"
},
"bugs": {
"url": "https://github.com/kataw/kataw/issues"
},
"keywords": [
"lightweight",
"es2021",
"es2022",
"ast",
"performance",
"parsing",
"cst",
"concrete syntax",
"parser",
"ecmascript",
"javascript",
"minify",
"transform"
],
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/kataw"
},
"files": [
"dist/*.min.js",
"dist/**/*.d.ts",
"README.md",
"LICENSE.md"
],
"publishConfig": {
"access": "public"
},
"config": {
"snap-shot-it": {
"useRelativePath": true
}
},
"scripts": {
"build": "tsc",
"build:watch": "tsc -w",
"lint": "eslint \"{src,test,scripts}/**/*.{ts,js}\" --fix",
"prettier": "node ./scripts/prettier.js write-changed",
"prettier-all": "node ./scripts/prettier.js write",
"bundle": "cross-env rimraf dist && node scripts/bundle.js",
"bundle:bench": "cross-env rimraf dist && node scripts/bundle.js bench",
"test": "ts-node test/cli",
"test:update-all": "ts-node test/cli -u all",
"test:update-parser": "ts-node test/cli -u parser",
"test:update-printer": "ts-node test/cli -u printer",
"test:autogen": "ts-node test/cli -g",
"prepare-nightly": "node scripts/bump-dev-version",
"coverage": "c8 --reporter=lcov npm run test",
"coverage:cli": "c8 ts-node test/cli.ts",
"coverage:treshold": "c8 check-coverage --lines 95 --per-file ts-node test/cli",
"post_coverage": "cross-env cat ./coverage/lcov.info | coveralls",
"prepare": "husky install",
"m": "mocha \"test/**/*.ts\"",
"m:watch": "npm run t -- --watch --watch-extensions ts"
},
"devDependencies": {
"@types/mocha": "^8.2.2",
"@types/node": "^15.12.1",
"@types/progress": "^2.0.3",
"@typescript-eslint/eslint-plugin": "^4.26.0",
"@typescript-eslint/parser": "^4.26.0",
"c8": "^7.7.3",
"chalk": "^4.1.1",
"cross-env": "^7.0.3",
"eslint": "^7.28.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-node": "^11.1.0",
"globby": "^11.0.3",
"husky": "^6.0.0",
"path": "^0.12.7",
"mocha": "^9.0.1",
"prettier": "^2.3.1",
"pretty-error": "^3.0.3",
"progress": "^2.0.3",
"rimraf": "^3.0.2",
"rollup": "^2.52.4",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.30.0",
"source-map-support": "^0.5.13",
"ts-node": "^10.0.0",
"tsconfig-paths": "^3.9.0",
"typescript": "^4.3.5",
"unicode-13.0.0": "^0.8.0"
},
"husky": {
"hooks": {
"pre-commit": "node ./scripts/prettier.js check-changed"
}
}
}