-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
100 lines (100 loc) · 2.94 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
94
95
96
97
98
99
100
{
"name": "website",
"version": "1.0.0",
"description": "Read the Docs website",
"main": "src/js/site.js",
"scripts": {
"clean": "npm run clean-assets && npm run clean-html",
"clean-assets": "rm -rfv readthedocs_theme/static/{css,js}; exit 0",
"clean-html": "rm -rfv output/*; exit 0",
"build": "npm run build-assets && npm run build-html",
"build-assets": "npm run clean-assets && webpack --mode=production --progress --colors",
"build-html": "npm run clean-html && pelican content",
"dev": "webpack-dev-server --mode=development",
"livereload": "npm run dev",
"lint": "prettier --check 'src/**' '*.js' '*.json'",
"format": "prettier --write 'src/**' '*.js' '*.json'",
"validate": "npm run build-html && html-validate --formatter codeframe output/",
"test": "jest --silent false src/js/tests/",
"checks": "npm run lint && npm run test && npm run validate"
},
"repository": {
"type": "git",
"url": "git+https://github.com/readthedocs/website.git"
},
"author": "Read the Docs, Inc",
"license": "MIT",
"bugs": {
"url": "https://github.com/readthedocs/website/issues"
},
"homepage": "https://github.com/readthedocs/website#readme",
"engines": {
"node": "<15.0.0",
"npm": "<7.0.0"
},
"dependencies": {
"prettier": "^2.5.0"
},
"devDependencies": {
"@babel/core": "^7.16.0",
"@babel/plugin-transform-modules-commonjs": "^7.16.0",
"@babel/preset-env": "^7.16.0",
"@readthedocs/sui-common-theme": "git+https://github.com/readthedocs/sui-common-theme.git#cc51322",
"babel-loader": "^8.1.0",
"create-fomantic-icons": "^1.0.4",
"css-loader": "^3.1.0",
"file-loader": "^3.0.1",
"fomantic-ui-less": "^2.8.8",
"html-validate": "^7.1.2",
"imports-loader": "^0.8.0",
"jest": "^26.4.2",
"jquery": "^3.4.1",
"jquery-address": "^1.6.0",
"lato-font": "^3.0.0",
"less": "git+https://github.com/agjohnson/less.js#64179a24",
"less-loader": "^4.1.0",
"matchdep": "~1.0.1",
"mini-css-extract-plugin": "^0.6.0",
"nodemon-webpack-plugin": "^4.7.0",
"optimize-css-assets-webpack-plugin": "^5.0.3",
"plausible-tracker": "^0.3.8",
"resolve-url-loader": "^2.2.1",
"sanitize-html": "^1.23.0",
"style-loader": "^0.23.1",
"url-loader": "^0.6.2",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.10",
"webpack-dev-server": "^3.10.3",
"webpack-merge": "^4.2.1",
"webpack-shell-plugin": "^0.5.0",
"webpack-watch-files-plugin": "^1.0.3"
},
"babel": {
"env": {
"test": {
"plugins": [
"@babel/plugin-transform-modules-commonjs"
]
}
}
},
"jest": {
"globals": {
"__webpack_public_path__": null
}
},
"prettier": {
"overrides": [
{
"files": [
"src/**/*.overrides",
"src/**/*.variables",
"src/sui/theme.config"
],
"options": {
"parser": "less"
}
}
]
}
}