-
Notifications
You must be signed in to change notification settings - Fork 41
/
package.json
48 lines (48 loc) · 2.17 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
{
"name": "@area17/blast",
"version": "1.0.0",
"scripts": {
"build-tailwind": "npx tailwindcss -i ./resources/frontend/css/main.css -o ./public/main.css --minify",
"build-storybook": "storybook build",
"storybook": "concurrently --i -c \"red,blue,yellow\" -n storybook,watch-components,watch-data \"storybook dev --quiet -c $STORYBOOK_CONFIG_PATH -s $STORYBOOK_STATIC_PATH -p $STORYBOOK_PORT\" \"npm run watch-components\" \"npm run watch-data\"",
"watch-components": "chokidar \"$COMPONENTPATH/**/*.blade.php\" -d 0 -c \"cd $PROJECTPATH && php artisan blast:generate-stories --watchEvent={event} -- '{path}';\"",
"watch-data": "chokidar \"$COMPONENTPATH/data/**/*.php\" \"$COMPONENTPATH/**/*.md\" -d 0 -c \"cd $PROJECTPATH && php artisan blast:generate-stories;\"",
"parse-tailwind": "node ./src/resolveTailwindConfig.js",
"prepare": "husky install",
"lint": "eslint --no-fix ./.storybook/**/*.js ./src/**/*.js",
"lint:fix": "eslint --fix ./.storybook/**/*.js ./src/**/*.js",
"stylelint": "stylelint",
"stylelint:all": "stylelint ./resources/**/*.css",
"prettier": "prettier",
"prettier:php": "prettier --write -- \"./src/**/*.php\""
},
"devDependencies": {
"@prettier/plugin-php": "^0.22.2",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"prettier": "^3.2.5",
"stylelint": "^14.9.1",
"stylelint-config-recommended": "^8.0.0",
"stylelint-order": "^5.0.0",
"stylelint-prettier": "^2.0.0"
},
"dependencies": {
"@etchteam/storybook-addon-status": "^4.2.4",
"@storybook/addon-designs": "^7.0.1",
"autoprefixer": "^10.4.7",
"chokidar-cli": "^3.0.0",
"concurrently": "^7.2.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"storybook-source-code-addon": "^1.2.0",
"tailwindcss": "^3.4.1"
},
"lint-staged": {
"*.js": "eslint --no-fix",
"*.css": "stylelint --fix",
"*.{js,css,md,php}": "prettier --write"
}
}