-
Notifications
You must be signed in to change notification settings - Fork 16
/
package.json
90 lines (90 loc) · 3.68 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
{
"name": "@serverlessworkflow/sdk-typescript",
"version": "4.0.0",
"schemaVersion": "0.8",
"description": "Typescript SDK for Serverless Workflow Specification",
"main": "umd/index.umd.min.js",
"browser": "umd/index.umd.min.js",
"module": "esm/index.esm.min.js",
"typings": "index.d.ts",
"scripts": {
"rimraf": "npx rimraf",
"shx": "npx shx",
"tsc": "npx tsc",
"ts-node": "npx ts-node",
"eslint": "npx eslint",
"prettier": "npx prettier",
"lint-staged": "npx lint-staged",
"clean": "npx rimraf dist && rimraf out-tsc",
"tools:download-schemas": "npx ts-node --project ./tools/tsconfig.json ./tools/download-schemas.ts",
"tools:generate-merged_json": "npx ts-node --project ./tools/tsconfig.json ./tools/generate-merged_json.ts",
"tools:generate-definitions": "npx ts-node --project ./tools/tsconfig.json ./tools/generate-definitions.ts",
"tools:generate-builders": "npx ts-node --project ./tools/tsconfig.json ./tools/generate-builders.ts",
"update-code-base": "npm run tools:download-schemas && tools:generate-merged_json && npm run tools:generate-definitions && npm run tools:generate-builders && npm run format && npm run test",
"format": "npx prettier --write \"**/*.ts\"",
"lint": "npx eslint . --ext .ts && npx prettier --check \"**/*.ts\"",
"pretest": "npx rimraf out-tsc",
"test": "npx tsc --project ./tests/tsconfig.json && npx jest",
"prebuild": "npx rimraf dist",
"build": "npx rollup -c rollup.config.ts && npx shx mv ./dist/src/lib ./dist/lib && npx shx mv ./dist/src/*d.ts.map ./dist/src/*d.ts ./dist && npx rimraf ./dist/src",
"postbuild": "npx shx cp ./package.json ./README.md ./LICENSE ./dist/",
"verify-publish-directory": "node -e 'if (!process.cwd().endsWith(\"dist\")) { console.error(\"Packaging/Publishing should be done from ./dist/\"); process.exitCode = 1; } process.exit();'",
"prepack": "npm run verify-publish-directory",
"prepublishOnly": "npm run verify-publish-directory",
"prepublish": "husky install"
},
"dependencies": {
"ajv": "^8.1.0",
"js-yaml": "^4.1.0"
},
"devDependencies": {
"@apidevtools/json-schema-ref-parser": "^9.0.7",
"@dtsgenerator/replace-namespace": "^1.4.1",
"@rollup/plugin-commonjs": "^19.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.0.0",
"@types/jest": "^27.0.3",
"@types/js-yaml": "^4.0.1",
"@types/node-fetch": "^2.5.10",
"@types/rimraf": "^3.0.0",
"@types/yargs": "^16.0.1",
"@typescript-eslint/eslint-plugin": "^4.23.0",
"@typescript-eslint/parser": "^4.23.0",
"dtsgenerator": "^3.10.0",
"eslint": "^7.26.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"husky": "6.0.0",
"jest": "^27.4.3",
"lint-staged": "11.0.0",
"node-fetch": "^2.6.1",
"prettier": "^2.3.0",
"rimraf": "^3.0.2",
"rollup": "^2.47.0",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.31.0",
"shx": "^0.3.4",
"ts-jest": "^27.1.0",
"ts-node": "^9.1.1",
"typescript": "^4.2.4",
"yargs": "^17.0.1"
},
"repository": {
"type": "git",
"url": "https://github.com/serverlessworkflow/sdk-typescript.git"
},
"author": {
"name": "Serverless Workflow Contributors",
"url": "https://serverlessworkflow.io"
},
"license": "http://www.apache.org/licenses/LICENSE-2.0.txt",
"bugs": {
"url": "https://github.com/serverlessworkflow/sdk-typescript/issues"
},
"homepage": "https://serverlessworkflow.io",
"engines": {
"node": ">=15.0",
"npm": ">=7.0.0"
}
}