forked from yalesites-org/component-library-twig
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
85 lines (85 loc) · 2.93 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
{
"name": "@yalesites-org/component-library-twig",
"version": "0.0.0-development",
"description": "YaleSites Twig component library.",
"files": [
"dist",
"components"
],
"scripts": {
"build": "webpack --config ./webpack/webpack.prod.js",
"build-storybook": "npm run storybook:build",
"develop": "concurrently --raw 'npm run webpack' 'npm run storybook'",
"husky:commit-msg": "commitlint --edit $1",
"husky:pre-commit": "lint-staged",
"lint": "npm run lint:js; npm run lint:styles",
"lint:js": "eslint components",
"lint:styles": "stylelint 'components/**/*.scss'",
"postinstall": "npx patch-package",
"prepare": "husky install",
"prettier": "prettier components --ignore-unknown --list-different",
"semantic-release": "semantic-release",
"storybook": "start-storybook --ci -s dist,images -p 6006",
"storybook:build": "npm run build && build-storybook -s dist,images -o .out",
"storybook:deploy": "storybook-to-ghpages -o .out",
"test": "npm run lint:js && npm run lint:styles && npm run prettier && npm run storybook:build",
"visreg:ci": "percy storybook .out",
"webpack": "webpack --watch --config ./webpack/webpack.dev.js"
},
"devDependencies": {
"@babel/core": "^7.16.7",
"@commitlint/cli": "^16.0.1",
"@commitlint/config-conventional": "^16.0.0",
"@percy/cli": "^1.2.1",
"@percy/storybook": "^4.2.0",
"@semantic-release/github": "^8.0.2",
"@storybook/addon-a11y": "^6.5.3",
"@storybook/addon-actions": "^6.5.3",
"@storybook/addon-essentials": "^6.5.3",
"@storybook/addon-links": "^6.5.3",
"@storybook/html": "^6.5.3",
"@yalesites-org/eslint-config-and-other-formatting": "^1.0.0",
"babel-loader": "^8.2.3",
"concurrently": "^7.0.0",
"husky": "^7.0.4",
"js-yaml-loader": "^1.2.2",
"lint-staged": "^12.1.6",
"sass": "^1.47.0",
"sass-loader": "^10.2.0",
"semantic-release": "^18.0.1",
"style-loader": "^2.0.0",
"twig-loader": "https://github.com/fourkitchens/twig-loader",
"webpack-cli": "^4.9.2"
},
"dependencies": {
"@drupal/once": "^1.0.1",
"@storybook/storybook-deployer": "^2.8.11",
"@yalesites-org/tokens": "^1.20.0",
"add-attributes-twig-extension": "^0.1.0",
"bem-twig-extension": "^0.1.1",
"clean-webpack-plugin": "^4.0.0",
"copy-webpack-plugin": "^4.6.0",
"glob": "^7.2.0",
"highlight.js": "^11.9.0",
"imagemin-webpack-plugin": "^2.4.2",
"jquery": "^3.7.1",
"mini-css-extract-plugin": "^1.6.2",
"node-sass-glob-importer": "^5.3.2",
"normalize.css": "^8.0.1",
"svg-sprite-loader": "^6.0.11",
"twig-drupal-filters": "^3.1.2",
"webpack": "^4.46.0",
"webpack-merge": "^5.8.0"
},
"lint-staged": {
"components/**/*.scss": [
"npm run lint:styles -- --fix"
],
"components/**/*.js": [
"npm run lint:js -- --fix"
],
"components/**/*.{js,scss,php}": [
"npm run prettier -- --write"
]
}
}