Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
124 lines (124 loc) · 5.54 KB
/
Copy pathpackage.json
File metadata and controls
124 lines (124 loc) · 5.54 KB
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"name": "police-scorecard",
"version": "1.3.0",
"description": "Nationwide Police Scorecard",
"author": "",
"keywords": [
"Nationwide",
"Police",
"Scorecard"
],
"license": "MIT",
"scripts": {
"start": "php artisan serv",
"test-lint": "./tests/commands/phplint.sh",
"test-unit": "./vendor/bin/phpunit",
"test-coverage": "./vendor/bin/phpunit -d memory_limit=1024M --log-junit 'reports/unitreport.xml' --coverage-html 'reports/clover_html' tests/",
"test": "npm run test-lint && npm run test-unit",
"clean": "rm -fr ./public/css && rm -fr ./public/fonts && rm -fr ./public/images && rm -fr ./public/js && rm -fr ./public/maps && rm -fr ./public/san-diego",
"clear-cache": "php artisan cache:clear && php artisan route:clear && php artisan config:clear && php artisan view:clear && php artisan config:cache && php artisan route:cache",
"dev": "npm run clean && npm run development",
"development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --display=normal --display-chunks=false --display-entrypoints=false --config=node_modules/laravel-mix/setup/webpack.config.js",
"watch": "npm run development -- --watch",
"watch-poll": "npm run watch -- --watch-poll",
"hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --disable-host-check --config=node_modules/laravel-mix/setup/webpack.config.js",
"prod": "npm run clean && npm run production",
"production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"docker:build": "docker compose up -d --build",
"docker:clean": "docker compose exec app php artisan cache:clear && docker compose exec app php artisan route:clear && docker compose exec app php artisan config:clear && docker compose exec app php artisan view:clear && docker compose exec app php artisan config:cache &&docker compose exec app php artisan route:cache",
"docker:down": "docker compose down",
"docker:logs": "docker compose logs",
"docker:restart": "docker compose restart",
"docker:stop": "docker compose stop",
"docker:test": "npm run docker:test-lint && npm run docker:test-unit",
"docker:test-lint": "docker compose exec app ./tests/commands/phplint.sh",
"docker:test-unit": "docker compose exec app ./vendor/bin/phpunit",
"docker:test-coverage": "docker compose exec app ./vendor/bin/phpunit -d memory_limit=1024M --log-junit 'reports/unitreport.xml' --coverage-html 'reports/clover_html' tests/",
"docker:up": "docker compose up -d",
"help": "node node_modules/npm-scripts-help"
},
"repository": {
"type": "git",
"url": "git+https://github.com/PoliceScorecard/website.git"
},
"bugs": {
"url": "https://github.com/PoliceScorecard/website/issues"
},
"homepage": "https://github.com/PoliceScorecard/website#readme",
"devDependencies": {
"axios": "^0.19",
"cross-env": "^7.0",
"laravel-mix": "^5.0.5",
"laravel-mix-versionhash": "^1.1.3",
"lodash": "^4.17.20",
"npm-scripts-help": "^0.8.0",
"pre-commit": "^1.2.2",
"resolve-url-loader": "^3.1.2",
"sass": "^1.15.2",
"sass-loader": "^8.0.0",
"vue-template-compiler": "^2.6.11"
},
"pre-commit": [
"test"
],
"scriptshelp": {
"help-message": "Police Scorecard NPM Script Commands:",
"start": {
"description": "Start PHP Application in Browser"
},
"test-lint": {
"description": "Check PHP Code for Invalid Markup"
},
"test-unit": {
"description": "Run PHP Unit Tests"
},
"test-coverage": {
"description": "Generate Code Coverage Reports into ./reports/clover_html/"
},
"test": {
"description": "Runs `npm run test-lint` and `npm run test-unit`"
},
"clean": {
"description": "Remove Generated Static Assets"
},
"clear-cache": {
"description": "Clear PHP Application Cache"
},
"dev": {
"description": "Build Website for Development"
},
"watch": {
"description": "Build Website for Development and Watch for Live Changes"
},
"hot": {
"description": "Build Website for Development and Enable Hot Module Replacement"
},
"production": {
"description": "Build Website for Production"
},
"docker:build": {
"description": "Tell Docker to Rebuild Docker Containers then Spin them Up"
},
"docker:up": {
"description": "Tell Docker to Start Docker Services"
},
"docker:stop": {
"description": "Tell Docker to Stop"
},
"docker:restart": {
"description": "Tell Docker to Restart"
},
"docker:logs": {
"description": "Tell Docker to View output from Docker containers"
},
"docker:down": {
"description": "Tell Docker to Stop and remove Docker Containers, Networks, Images & Volumes"
},
"docker:clean": {
"description": "Tell Docker to Clear PHP Application Cache"
},
"help": {
"description": "Generates List of Scripts you can run"
}
}
}