-
Notifications
You must be signed in to change notification settings - Fork 42
/
package.json
44 lines (44 loc) · 2.45 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
{
"name": "whisk",
"version": "1.0.1",
"description": "Storybook development + Webpack Build",
"keywords": [
"component library",
"design system",
"drupal",
"emulsify",
"storybook",
"styleguide"
],
"author": "Four Kitchens <shout@fourkitchens.com>",
"license": "ISC",
"scripts": {
"a11y": "npm run storybook-build && node_modules/@emulsify/core/scripts/a11y.js -r",
"build": "webpack --config node_modules/@emulsify/core/config/webpack/webpack.prod.js",
"build-dev": "webpack --config node_modules/@emulsify/core/config/webpack/webpack.dev.js",
"coverage": "npm run test && open-cli .coverage/lcov-report/index.html",
"develop": "npm run build-dev && concurrently --raw \"npm run webpack\" \"npm run storybook\"",
"format": "npm run lint-fix; npm run prettier-fix",
"husky:commit-msg": "commitlint --edit $1",
"husky:pre-commit": "lint-staged",
"lint": "npm run lint-js; npm run lint-styles",
"lint-fix": "npm run lint-js -- --fix; npm run lint-styles -- --fix",
"lint-js": "eslint --config config/emulsify-core/eslintrc.config.json --no-eslintrc --no-error-on-unmatched-pattern ./components",
"lint-staged": "lint-staged",
"lint-styles": "stylelint --config config/emulsify-core/stylelintrc.config.json './components/**/*.scss'",
"prettier": "prettier --config config/emulsify-core/prettierrc.config.json --ignore-path config/emulsify-core/.prettierignore --ignore-unknown \"./components/**/*.{js,yml,scss,md}\"",
"prettier-fix": "prettier --config config/emulsify-core/prettierrc.config.json --ignore-path config/emulsify-core/.prettierignore --write --ignore-unknown \"./components/**/*.{js,yml,scss,md}\"",
"storybook": "storybook dev -c node_modules/@emulsify/core/.storybook --ci -p 6006",
"storybook-build": "npm run build && storybook build -c node_modules/@emulsify/core/.storybook -o .out",
"storybook-deploy": "storybook-to-ghpages -o .out",
"style-dictionary:build": "node ./src/tokens/tokensTransform.mjs",
"test": "jest --coverage --config ./config/jest.config.js",
"tokens:build": "npm run tokens:transform && npm run style-dictionary:build",
"tokens:transform": "token-transformer ./src/tokens/figma.tokens.json ./src/tokens/transformed.tokens.json",
"twatch": "jest --no-coverage --watch --verbose",
"webpack": "webpack --watch --config node_modules/@emulsify/core/config/webpack/webpack.dev.js"
},
"dependencies": {
"@emulsify/core": "^2.5.1"
}
}