/
package.json
66 lines (66 loc) · 2.16 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
{
"name": "@hashml/hashml",
"description": "Hashml parser",
"version": "0.3.0",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"license": "MIT",
"author": "Matthieu Bovel <matthieu@bovel.net>",
"contributors": [
"Maxime Kjaer <maxime.kjaer@gmail.com>"
],
"repository": {
"type": "git",
"url": "https://github.com/hashml/hashml.git"
},
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=12.0.0"
},
"dependencies": {
"typescript": "^3.5.2"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^0.1.3",
"@types/benchmark": "^1.0.31",
"@types/chai": "^4.1.7",
"@types/mocha": "^5.2.7",
"@types/node": "^12.0.10",
"benchmark": "^2.1.4",
"chai": "^4.2.0",
"coveralls": "^3.0.4",
"mocha": "^6.1.4",
"mocha-lcov-reporter": "^1.3.0",
"nyc": "^14.1.1",
"pkg-ok": "^2.3.1",
"prettier": "^1.18.2",
"rimraf": "^3.0.0",
"source-map-support": "^0.5.12",
"ts-node": "^8.3.0",
"tslint": "^5.18.0",
"typedoc": "^0.15.0"
},
"config": {
"schema_interface": "src/schema/schemaSchemaInterface.d.ts"
},
"scripts": {
"schema:compile": "ts-node compileSchemaSchema.ts $npm_package_config_schema_interface",
"schema:format": "prettier --write $npm_package_config_schema_interface && tslint --project tsconfig.json --config tslint.json --force --quiet --fix $npm_package_config_schema_interface",
"schema": "npm run schema:compile && npm run schema:format && npm run schema:format",
"format": "prettier --write {src,test,benchmark}/**/*.ts *.json",
"format:check": "prettier --check {src,test,benchmark}/**/*.ts *.json",
"tslint": "tslint --project tsconfig.json",
"tslint:fix": "tslint --project tsconfig.json --fix",
"build": "rimraf dist && tsc --project tsconfig.build.json && pkg-ok",
"test": "mocha",
"coverage": "nyc mocha --require source-map-support/register",
"coveralls": "npm run coverage && nyc report --reporter=text-lcov | coveralls",
"check": "npm test && npm run format:check && npm run tslint",
"docs": "typedoc --out typedoc src/",
"preversion": "npm run check",
"postversion": "git push && git push --tags",
"benchmark": "node --require ts-node/register benchmark/parseBenchmark.ts"
}
}