-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
55 lines (55 loc) · 2.29 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
{
"name": "@superfaceai/ast",
"version": "1.3.2",
"description": "Superface profile and map language ASTs, https://superface.ai",
"main": "dist/index.js",
"source": "src/index.ts",
"types": "dist/index.d.ts",
"repository": "https://github.com/superfaceai/ast-js.git",
"files": [
"dist/**/*"
],
"author": "Superface Team",
"license": "MIT",
"scripts": {
"build": "tsc -p tsconfig.release.json --outDir dist",
"watch": "yarn build --watch",
"clean": "rimraf dist/",
"prebuild": "yarn clean",
"test": "jest",
"lint": "eslint src/",
"lint:fix": "yarn lint --fix",
"format": "prettier -c src/",
"format:fix": "prettier --write src/",
"generate_schema": "typescript-json-schema --noExtraProps --required --strictNullChecks --tsNodeRegister --topRef",
"generate_profile_schema": "yarn run generate_schema src/interfaces/ast/profile-ast.ts ProfileDocumentNode -o src/interfaces/ast/profile-ast.schema.json",
"generate_map_schema": "yarn run generate_schema src/interfaces/ast/map-ast.ts MapDocumentNode -o src/interfaces/ast/map-ast.schema.json",
"generate_superjson_schema": "yarn run generate_schema src/interfaces/superjson/superjson.ts SuperJsonDocument -o src/interfaces/superjson/superjson.schema.json",
"generate_providerjson_schema": "yarn run generate_schema src/interfaces/providerjson/providerjson.ts ProviderJson -o src/interfaces/providerjson/providerjson.schema.json",
"generate_schemas": "yarn run generate_profile_schema && yarn run generate_map_schema && yarn run generate_superjson_schema && yarn run generate_providerjson_schema",
"prepare": "husky install"
},
"dependencies": {
"ajv": "^8.8.2",
"ajv-formats": "^2.1.1"
},
"devDependencies": {
"@types/jest": "^26.0.24",
"@typescript-eslint/eslint-plugin": "^4.28.5",
"@typescript-eslint/parser": "^4.28.5",
"eslint": "^7.31.0",
"eslint-config-prettier": "^8.3.0",
"eslint-import-resolver-typescript": "^2.4.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-jest": "^24.4.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"husky": "^7.0.0",
"jest": "^27.0.6",
"prettier": "^2.3.2",
"rimraf": "^3.0.2",
"ts-jest": "^27.0.4",
"ts-node": "^10.1.0",
"typescript": "^4",
"typescript-json-schema": "^0.50.1"
}
}