-
Notifications
You must be signed in to change notification settings - Fork 692
/
Copy pathpackage.json
87 lines (87 loc) · 2.02 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
{
"name": "spectacle-example-mdx",
"private": true,
"dependencies": {
"@mdx-js/react": "^1.5.3",
"prop-types": "^15.7.2",
"spectacle": "*",
"react": "^18.1.0",
"react-dom": "^18.1.0"
},
"devDependencies": {
"spectacle-mdx-loader": "*"
},
"scripts": {
"start": "webpack-dev-server --port=3300 --hot --config ./webpack.config.js",
"build": "wireit",
"lint": "wireit",
"lint:fix": "wireit",
"prettier": "wireit",
"prettier:fix": "wireit"
},
"wireit": {
"build": {
"command": "nps webpack",
"files": [
"*.{js,jsx,ts,tsx,html}"
],
"output": [
"dist/*"
],
"dependencies": [
"../../packages/spectacle:build:lib:esm"
],
"packageLocks": [
"pnpm-lock.yaml"
]
},
"lint": {
"command": "nps \"lint:base *.js\"",
"files": [
"../../.eslintignore",
"../../.eslintrc",
"*.{js,jsx,ts,tsx}"
],
"output": [],
"packageLocks": [
"pnpm-lock.yaml"
]
},
"lint:fix": {
"command": "pnpm run lint || nps \"lint:base --fix *.js\"",
"files": [
"../../.eslintignore",
"../../.eslintrc",
"*.{js,jsx,ts,tsx}"
],
"output": [],
"packageLocks": [
"pnpm-lock.yaml"
]
},
"prettier": {
"command": "nps prettier:pkg -- -- \"*\"",
"files": [
"../../.prettierignore",
"../../.prettierrc",
"*.{js,html}"
],
"output": [],
"packageLocks": [
"pnpm-lock.yaml"
]
},
"prettier:fix": {
"command": "pnpm run prettier || nps prettier:pkg:fix -- -- \"*\"",
"files": [
"../../.prettierignore",
"../../.prettierrc",
"*.{js,html}"
],
"output": [],
"packageLocks": [
"pnpm-lock.yaml"
]
}
}
}