forked from NCCE/teachcomputing.org
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
94 lines (94 loc) · 3.35 KB
/
package.json
File metadata and controls
94 lines (94 loc) · 3.35 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
{
"name": "ncce-project",
"engines": {
"node": "22.x",
"yarn": "3.2.x"
},
"private": true,
"dependencies": {
"@babel/core": "^7.26.10",
"@babel/eslint-parser": "^7.13.14",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/plugin-proposal-private-methods": "^7.18.6",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-destructuring": "^7.25.9",
"@babel/plugin-transform-regenerator": "^7.27.0",
"@babel/plugin-transform-runtime": "^7.26.10",
"@babel/preset-env": "^7.26.9",
"@hotwired/stimulus": "^3.2.2",
"@hotwired/stimulus-webpack-helpers": "^1.0.1",
"@rails/actiontext": "^7.1.0",
"@rails/activestorage": "^7.1.0",
"@rails/ujs": "^7.1.0",
"@rails/webpacker": "^5.4.3",
"ansi-html-community": "0.0.8",
"babel-loader": "^8.4.1",
"channels": "^0.0.4",
"core-js": "^3.40.0",
"dotenv-webpack": "^8.0.1",
"flatpickr": "^4.6.9",
"govuk-frontend": "5.4.0",
"node-sass-glob-importer": "^5.3.2",
"sass": "^1.71.1",
"sass-loader": "^10.5.2",
"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": "^10.1.1",
"eslint-plugin-prettier": "^3.4",
"install": "^0.13.0",
"lint-staged": "^15.2.10",
"prettier": "^3.5.3",
"purgecss": "^5.0.0",
"speed-measure-webpack-plugin": "^1.5.0",
"stylelint": "^16.14",
"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": "yarn@3.2.4"
}