-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
99 lines (99 loc) · 3.47 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
{
"private": true,
"name": "math-x-ts",
"version": "0.0.12",
"description": "Math parser, AST builder for math expression & step by step solution",
"workspaces": [
"packages/generix",
"packages/core",
"packages/parser",
"packages/documentation",
"packages/_specs"
],
"scripts": {
"postinstall": "husky install",
"clean:lib": "yarn workspaces run clean:lib",
"build:all": "yarn workspaces run build:all",
"lint": "yarn workspaces run lint",
"lint:fix": "yarn workspaces run lint:fix",
"test": "yarn workspaces run test",
"test:bundle": "yarn workspaces run test:bundle",
"check:types": "yarn workspaces run check:types",
"check:specs": "yarn workspace @math-x-ts/_specs run check:specs",
"coverage": "c8 yarn check:specs",
"check:all": "yarn workspaces run check:all",
"npm:publish": "npm run npm:publish --workspaces",
"apply:version": "ts-node ./scripts/version.ts --applyVersion",
"changelog": "npx standard-version --skip.bump --skip.commit --skip.tag"
},
"repository": {
"type": "git",
"url": "git+https://github.com/dopey2/math-x-js.git"
},
"keywords": [
"math",
"parser",
"ast",
"solution"
],
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/dopey2/math-x-js/issues"
},
"homepage": "https://github.com/dopey2/math-x-js#readme",
"devDependencies": {
"@cucumber/cucumber": "^7.3.2",
"@cucumber/pretty-formatter": "^1.0.0-alpha.2",
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@swc/core": "1.3.1",
"@swc/jest": "0.2.22",
"@types/jest": "29.0.2",
"@typescript-eslint/eslint-plugin": "^5.37.0",
"@typescript-eslint/eslint-plugin-tslint": "^5.37.0",
"@typescript-eslint/parser": "^5.37.0",
"all-contributors-cli": "^6.20.4",
"c8": "^7.13.0",
"commitizen": "^4.2.5",
"cucumber-tsflow": "^4.0.0-preview.7",
"eslint": "^8.23.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsdoc": "^39.3.6",
"eslint-plugin-sort-class-members": "^1.15.2",
"husky": "^7.0.4",
"jest": "^27.5.1",
"netlify-cli": "^15.1.1",
"puppeteer": "^13.7.0",
"rimraf": "^3.0.2",
"source-map-support": "^0.5.21",
"standard-version": "^9.5.0",
"swc-loader": "^0.2.3",
"ts-node": "^10.9.1",
"tslint": "^6.1.3",
"typescript": "^4.8.3",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0",
"yargs": "^17.5.1"
},
"how to": {
"change version in all packages": {
"1": "In the root folder call the following command:",
"2": "yarn apply:version -- 1.0.0"
},
"publish all packages": {
"1": "In the root folder call the following command:",
"2": "npm run npm:publish"
},
"publish workflow": {
"0": "Should be run on main branches only after all test passes on the CI",
"1": "Set the version in all packages => yarn apply:version 1.0.0",
"2": "Generate CHANGELOG => yarn changelog",
"3": "Check diff, update changelog etc.. => _________________________________",
"5": "generate locks files => yarn install && npm install",
"6": "Commit all files => git commit -m 'chore(release) 1.0.0' ",
"7": "Create a tag => git tag v1.0.0",
"8": "Push the everything to git to main => git push --tags",
"9": "The CI will handle the rest => _________________________________"
}
}
}