-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
93 lines (93 loc) · 2.95 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
{
"name": "mamba-sdk",
"version": "2.2.1",
"description": "SDK for developing in the Mamba web environment",
"repository": "https://github.com/stone-payments/pos-mamba-sdk.git",
"author": "Stone Payments - Mamba Team",
"private": true,
"workspaces": [
"packages/components/*",
"packages/*"
],
"license": "Apache-2.0",
"engines": {
"node": ">=12 <=16"
},
"scripts": {
"lint": "npm run lint:css; npm run lint:js",
"lint:js": "eslint \"*.js\" \"{tools,packages}/**/*.{js,html,svelte}\"",
"lint:css": "stylelint \"packages/**/*.{html,svelte,css,pcss}\"",
"format:js": "prettier --write \"*.js\" \"{tools,packages}/**/*.js\" && eslint --fix \"*.js\" \"{tools,packages}/**/*.{js,html,svelte}\"",
"format:css": "prettier --write \"packages/**/*.{css,pcss}\" && stylelint --fix \"packages/**/*.{html,svelte,css,pcss}\"",
"format": "npm run format:css; npm run format:js",
"test": "jest --no-cache --collect-coverage",
"test:watch": "jest --watch --collect-coverage",
"test:ci": "jest --no-cache --verbose",
"link:packages": "lerna exec npm link",
"build:modules": "lerna run --no-bail --scope=\"@mamba/{keyboard,core,styles}*\" build",
"postinstall": "run-s build:modules",
"packages:clear": "lerna exec -- rm -rf node_modules package-lock.json",
"check-next-version": "echo 'n' | lerna version",
"release": "rm -rf packages/**/package-lock.json && lerna publish",
"link:name": "./tools/get-links.sh -m name",
"link:path": "./tools/get-links.sh -m path"
},
"config": {
"commitizen": {
"path": "node_modules/git-cz"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.{html,svelte}": [
"eslint --fix",
"stylelint --fix"
],
"*.{js,ts,cjs,mjs}": [
"prettier --write",
"eslint --fix"
],
"*.{pcss,css}": [
"stylelint --fix"
]
},
"devDependencies": {
"@babel/core": "^7.0.0",
"@babel/eslint-parser": "^7.18.2",
"@commitlint/cli": "^7.6.1",
"@commitlint/config-conventional": "^14.1.0",
"@commitlint/config-lerna-scopes": "^15.0.0",
"@mamba/pos": "*",
"@playwright/test": "^1.35.0",
"@types/jest": "^27.0.2",
"@typescript-eslint/eslint-plugin": "^5.27.0",
"@typescript-eslint/parser": "^5.27.0",
"babel-jest": "^27.3.1",
"commitizen": "^3.1.2",
"cross-env": "^5.2.0",
"eslint": "^7.0.0",
"git-cz": "^3.0.0",
"husky": "^1.3.1",
"jest": ">=28.0.0 <29.0.0-0",
"jest-canvas-mock": "^2.4.0",
"jest-environment-jsdom": "28.1.0",
"jest-junit": "^13.0.0",
"lerna": "^4.0.0",
"lint-staged": "^14.0.1",
"npm-run-all": "^4.1.5",
"postcss": "^7.0.0",
"prettier": "^2.0.0",
"quickenv": "^0.0.6",
"stylelint": "^14.0.0",
"svelte": "<3",
"ts-jest": "^28.0.0",
"ts-node": "^10.9.1",
"typescript": "^4.7.2"
},
"packageManager": "[email protected]"
}