-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
65 lines (65 loc) · 2.74 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
{
"name": "staticphp",
"version": "1.0.0",
"description": "",
"author": "",
"license": "MIT",
"private": true,
"main": "",
"repository": {
"type": "git",
"url": "git@github.com:gintsmurans/staticphp.git"
},
"bugs": {
"url": "https://github.com/gintsmurans/staticphp/issues"
},
"homepage": "https://github.com/gintsmurans/staticphp",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"install": "npm run composer:init && npm run mkdirs && npm run copy-fonts",
"start": "php -S 0.0.0.0:8081 -t src/Application/Public",
"composer:init": "[ -f composer.lock ] || composer install",
"mkdirs": "mkdir -p src/Application/Public/assets/dist/fonts src/Application/Public/assets/dist/css src/Application/Public/assets/dist/js",
"copy-fonts": "mkdir -p src/Application/Public/assets/dist/fonts/font-awesome; cp -r node_modules/\\@fortawesome/fontawesome-free/webfonts/* src/Application/Public/assets/dist/fonts/font-awesome/;",
"build": "npm run copy-fonts && npm run css:build && npm run js:build",
"build:dev": "npm run copy-fonts && npm run css:build && npm run js:build:dev",
"js:build": "tsc -noEmit && webpack --mode production --bail",
"js:build:dev": "tsc -noEmit && webpack --mode development",
"js:watch": "webpack --watch --mode development",
"css:build": "sass --style=compressed --load-path=node_modules --source-map-urls=relative src/Application/Public/assets/src/index.scss src/Application/Public/assets/dist/css/index.css",
"css:watch": "./scripts/watch_files_dev.bash css",
"docs": "./vendor/bin/apigen generate --destination src/Application/Public/docs src/Application/ src/System/",
"phpstan": "./vendor/bin/phpstan analyse --level 4 --autoload-file=./src/System/Modules/Core/Helpers/Autoload.php ./src/Application ./src/System"
},
"dependencies": {
"@fortawesome/fontawesome-free": "^6.5.1",
"@popperjs/core": "^2.11.8",
"bootstrap": "^5.3.2",
"core-js": "^3.34.0"
},
"browserslist": [
"defaults",
"not ie 11"
],
"devDependencies": {
"@types/bootstrap": "^5.2.10",
"@types/jquery": "^3.5.29",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"esbuild-loader": "^4.0.2",
"eslint": "^8.55.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-import-resolver-webpack": "^0.13.8",
"eslint-plugin-compat": "^4.2.0",
"eslint-plugin-import": "^2.29.0",
"eslint-webpack-plugin": "^4.0.1",
"sass": "^1.69.5",
"strip-trailing-space-loader": "^1.1.0",
"terser": "^5.26.0",
"terser-webpack-plugin": "^5.3.9",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4",
"webpack-plugin-replace": "^1.2.0"
}
}