-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
32 lines (32 loc) · 1.11 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
{
"name": "simple-watch-build",
"type": "module",
"workspaces": [
"build"
],
"scripts": {
"dev": "run-p watch serve",
"build": "node build/out/build.js",
"watch": "node build/out/watch.js",
"serve": "http-server -p ${PORT:-8080} dist",
"clean": "rm -rf dist",
"lint": "npm run lint:eslint && npm run lint:prettier",
"lint:eslint": "eslint --ignore-path=.gitignore .",
"lint:prettier": "prettier --check --ignore-path=.gitignore .",
"fix": "npm run fix:eslint && npm run fix:prettier",
"fix:eslint": "npm run lint:eslint -- --fix",
"fix:prettier": "npm run lint:prettier -- --write",
"prepare": "npm run prepare:build && npm run prepare:sass",
"prepare:sass": "echo 'export * from \"./types/index\";' > node_modules/sass/sass.default.dart.d.ts",
"prepare:build": "npm run -w build build"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.27.1",
"@typescript-eslint/parser": "^5.27.1",
"eslint": "^8.17.0",
"eslint-config-prettier": "^8.5.0",
"http-server": "^14.1.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.6.2"
}
}