-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
87 lines (87 loc) · 2.95 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
{
"name": "ncce-project",
"engines": {
"node": "16.x",
"yarn": "3.2.x"
},
"private": true,
"dependencies": {
"@babel/core": "^7.14.0",
"@babel/eslint-parser": "^7.13.14",
"@hotwired/stimulus": "^3.2.2",
"@hotwired/stimulus-webpack-helpers": "^1.0.1",
"@rails/actiontext": "^6.1.3",
"@rails/activestorage": "^6.1.3",
"@rails/ujs": "^6.1.3",
"@rails/webpacker": "^5.4.3",
"ansi-html-community": "0.0.8",
"channels": "^0.0.4",
"cookieconsent": "^3.1.0",
"core-js": "^3.12.0",
"dotenv-webpack": "^8.0.1",
"flatpickr": "^4.6.9",
"govuk-frontend": "5.4.0",
"is-svg": "4.3.1",
"node-sass-glob-importer": "^5.3.2",
"sass": "^1.71.1",
"sass-loader": "^10.1.1",
"trix": "^2.1",
"turbolinks": "^5.2.0",
"webpack": "^4.46.0",
"webpack-cli": "^3.3.12",
"yargs-parser": "^21.1"
},
"devDependencies": {
"eslint": "^7.25",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4",
"install": "^0.13.0",
"lint-staged": "^15.2.10",
"prettier": "^3.2.5",
"purgecss": "^5.0.0",
"speed-measure-webpack-plugin": "^1.5.0",
"stylelint": "^16.2",
"stylelint-config-prettier": "^8.0.2",
"stylelint-config-recommended-scss": "^4.2.0",
"stylelint-order": "^6.0.4",
"stylelint-prettier": "^3.0.0",
"stylelint-scss": "^6.10",
"webpack-dev-server": "^3.11.2"
},
"scripts": {
"setup": "sh ./scripts/setup.sh",
"start": "sh ./scripts/docker-start.sh",
"stop": "sh ./scripts/docker-stop.sh",
"reset-db": "sh ./scripts/reset-db.sh",
"start-tunnel": "ssh -fCND 8889 -L8888:127.0.0.1:8888 -S /tmp/.ssh_stem_proxy -M proxy",
"stop-tunnel": "ssh -S /tmp/.ssh_stem_proxy -O exit proxy",
"logs": "docker compose logs --tail 500",
"web": "docker compose run --rm --no-deps web",
"bundle": "docker compose run --rm --no-deps web bundle",
"exec": "docker compose run --rm --no-deps web bundle exec",
"bundle-install": "yarn run bundle install && docker compose restart web && yarn start",
"bundle-update": "yarn run bundle update && docker compose restart web && yarn start",
"console": "yarn run web rails c",
"shell": "yarn run web sh",
"test": "yarn run exec rspec",
"test-debug": "docker-compose exec web rdebug-ide --host 0.0.0.0 --port 1235 ./bin/rspec",
"guard": "yarn run bundle exec guard",
"attach": "docker exec -it teachcomputingorg-web-1",
"purge-error-css": "yarn purgecss -con public/error-pages/application-error.html -css public/error-pages/errors.css -o public/error-pages/errors.css"
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
],
"*.scss": [
"stylelint --fix --syntax=scss",
"git add"
]
},
"pre-commit": "lint:staged",
"resolutions": {
"ansi-html": "https://registry.yarnpkg.com/ansi-html-community/-/ansi-html-community-0.0.8.tgz#69fbc4d6ccbe383f9736934ae34c3f8290f1bf41"
},
"packageManager": "[email protected]"
}