-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
65 lines (65 loc) · 1.98 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": "ncce-project",
"engines": {
"node": "16.x",
"yarn": "3.2.x"
},
"private": true,
"dependencies": {
"@rails/actioncable": "^6.0.0",
"@rails/activestorage": "^6.0.0",
"@rails/ujs": "^6.0.0",
"@rails/webpacker": "5.4.3",
"turbolinks": "^5.2.0",
"webpack": "^4.46.0",
"webpack-cli": "^3.3.12"
},
"devDependencies": {
"eslint": "5.6.1",
"eslint-config-prettier": "3.1.0",
"eslint-plugin-prettier": "3.0.0",
"lint-staged": "7.3.0",
"prettier": "1.14.3",
"prettier-package-json": "2.0.1",
"stylelint": "13.13",
"stylelint-config-prettier": "^8.0.2",
"stylelint-config-recommended-scss": "^4.2.0",
"stylelint-order": "^4.1.0",
"stylelint-prettier": "^1.2.0",
"stylelint-scss": "^3.19",
"webpack-dev-server": "^3"
},
"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",
"logs": "docker compose logs --tail 500",
"curriculum": "docker compose run --rm --no-deps curriculum",
"bundle": "docker compose run --rm --no-deps curriculum bundle",
"exec": "docker compose run --rm --no-deps curriculum bundle exec",
"bundle-install": "yarn run bundle install && docker compose restart curriculum && yarn start",
"bundle-update": "yarn run bundle update && docker compose restart curriculum && yarn start",
"console": "yarn run exec rails c",
"shell": "yarn run curriculum sh",
"test": "yarn run exec rspec",
"test-debug": "docker-compose exec curriculum rdebug-ide --h 0.0.0.0 --p 1235 ./bin/rspec",
"guard": "yarn run bundle exec guard"
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
],
"*.scss": [
"stylelint --fix --syntax=scss",
"git add"
],
"package.json": [
"prettier-package-json --write",
"git add"
]
},
"pre-commit": "lint:staged",
"packageManager": "[email protected]"
}