-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
92 lines (92 loc) · 3.24 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
{
"name": "typescript-html-scss",
"version": "1.0.0",
"description": "",
"main": "index.js",
"engines": {
"node": "^16.0.0",
"npm": "^7.10.0"
},
"scripts": {
"dev": "npm-run-all -p serve watch",
"serve": "webpack serve",
"build": "webpack && touch ./dist/.gitkeep",
"clean": "rm -fr ./dist && mkdir dist && touch ./dist/.gitkeep",
"rebuild": "npm run clean && npm run build",
"analyze": "webpack --profile --json > stats.json && webpack-bundle-analyzer stats.json",
"eslint": "eslint . --max-warnings=0 --ext .ts --fix",
"stylelint": "stylelint 'src/**/*.scss' --max-warnings=0 --fix",
"prettier": "prettier -cw *.{js,json} **/*.{js,ts,html,scss}",
"htmlhint": "htmlhint ./src",
"tsc": "tsc --noEmit",
"watch": "[ \"$DISABLED_WATCH\" = '1' ] && echo 'Disabled watch tasks' || npm run watch-all",
"watch-all": "npm-run-all -p watch:*",
"watch:eslint": "chokidar '**/*.{ts}' -c 'npx eslint --fix {path}'",
"watch:stylelint": "chokidar '**/*.{scss}' -c 'npx stylelint --fix {path}'",
"watch:prettier": "chokidar '*.{js,json}' '**/*.{js,ts,html,scss}' -c 'npx prettier -cw {path}'",
"watch:htmlhint": "chokidar '**/*.html' -c 'npx htmlhint {path}'",
"watch:test": "chokidar '**/*.test.ts' -c 'npx jest {path}'",
"lint-staged": "lint-staged",
"jest": "jest",
"lint": "npm-run-all eslint stylelint htmlhint prettier",
"test": "npm-run-all tsc jest"
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/kkkaoru/typescript-html-scss.git"
},
"keywords": [],
"author": "https://github.com/kkkaoru/",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/kkkaoru/typescript-html-scss/issues"
},
"homepage": "https://github.com/kkkaoru/typescript-html-scss#readme",
"devDependencies": {
"@types/eslint": "^7.2.10",
"@types/jest": "^26.0.23",
"@types/mockdate": "^2.0.0",
"@types/prettier": "^2.2.3",
"@types/stylelint": "^9.10.1",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"chokidar-cli": "^2.1.0",
"css-loader": "^5.2.4",
"eslint": "^7.25.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-jest": "^24.3.6",
"html-loader": "^2.1.2",
"html-webpack-plugin": "^5.3.1",
"htmlhint": "^0.14.2",
"husky": "^6.0.0",
"jest": "^26.6.3",
"lint-staged": "^10.5.4",
"mini-css-extract-plugin": "^1.5.1",
"mockdate": "^3.0.5",
"npm-run-all": "^4.1.5",
"posthtml": "^0.15.2",
"posthtml-include": "^1.7.1",
"prettier": "^2.2.1",
"sass": "^1.32.12",
"sass-loader": "^11.0.1",
"stylelint": "^13.13.1",
"stylelint-config-prettier": "^8.0.2",
"stylelint-config-rational-order": "^0.0.3",
"stylelint-config-recommended": "^5.0.0",
"stylelint-config-recommended-scss": "^4.2.0",
"stylelint-declaration-block-no-ignored-properties": "^2.3.0",
"stylelint-order": "^4.1.0",
"ts-jest": "^26.5.5",
"ts-loader": "^9.1.1",
"ts-node": "^9.1.1",
"typescript": "^4.2.4",
"webpack": "^5.36.1",
"webpack-bundle-analyzer": "^4.4.1",
"webpack-cli": "^4.6.0",
"webpack-dev-server": "^3.11.2"
},
"dependencies": {
"dayjs": "^1.10.4"
}
}