-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
62 lines (62 loc) · 2.45 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
{
"name": "@dopplerhq/universal-import",
"private": true,
"license": "Apache-2.0",
"workspaces": [
"core",
"react",
"react-example"
],
"scripts": {
"clean": "concurrently -i -c green,blue -n core,react 'cd core && npm run clean' 'cd react && npm run clean'",
"predev": "cd core && npm run build:dev && cd ../react && npm run build:dev",
"dev": "concurrently -i -c green,blue,yellow -n core,react,react-example 'cd core && npm run build:watch' 'cd react && npm run build:watch' 'cd react-example && npm run dev'",
"docker": "cd core && npm run build && cd ../react && npm run build:docker && cd ../react-example && npm run build && npm run preview",
"build": "npm run clean && cd core && npm run build && cd ../react && npm run build",
"build:dev": "npm run clean && cd core && npm run build:dev && cd ../react && npm run build:dev",
"build:staging": "npm run clean && cd core && npm run build:staging && cd ../react && npm run build:staging",
"build:github-action": "npm run clean && cd core && npm run build:github-action && cd ../react && npm run build:github-action",
"check": "concurrently -i -c green,blue -n eslint,prettier 'npm run lint' 'npm run prettier'",
"lint": "eslint .",
"prettier": "prettier . --check",
"version:patch": "npm version --workspaces patch",
"version:minor": "npm version --workspaces minor",
"version:major": "npm version --workspaces major",
"test": "jest",
"test:coverage": "jest --coverage",
"test:coverage:ci": "jest --ci --reporters=default --reporters=jest-junit"
},
"devDependencies": {
"@swc/core": "^1.3.11",
"@swc/jest": "^0.2.23",
"@types/jest": "^29.2.0",
"@typescript-eslint/eslint-plugin": "^5.33.0",
"@typescript-eslint/parser": "^5.33.0",
"concurrently": "^7.3.0",
"eslint": "^8.21.0",
"eslint-import-resolver-typescript": "^3.4.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-security": "^1.5.0",
"jest": "^29.2.2",
"jest-junit": "^14.0.1",
"prettier": "^2.7.1",
"ts-jest": "^29.0.3"
},
"prettier": {
"arrowParens": "always",
"printWidth": 110,
"trailingComma": "all"
},
"eslintIgnore": [
"**/dist/**"
],
"jest-junit": {
"outputDirectory": "reports",
"outputName": "jest-junit.xml",
"ancestorSeparator": " › ",
"uniqueOutputName": "false",
"suiteNameTemplate": "{filepath}",
"classNameTemplate": "{classname}",
"titleTemplate": "{title}"
}
}