Install chromatic

This commit is contained in:
Matthew Wang 2023-04-24 13:40:46 -07:00
parent 7e6bbb9e6a
commit f55f648479
No known key found for this signature in database
GPG Key ID: 0C8DB42BF157DEAB
3 changed files with 2180 additions and 6 deletions

2
.gitignore vendored
View File

@ -7,3 +7,5 @@ _site
Gemfile.lock Gemfile.lock
node_modules node_modules
.DS_Store .DS_Store
*.log
storybook-static

2167
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -2,9 +2,14 @@
"name": "just-the-docs", "name": "just-the-docs",
"version": "0.5.0", "version": "0.5.0",
"description": "A modern Jekyll theme for documentation", "description": "A modern Jekyll theme for documentation",
"repository": "just-the-docs/just-the-docs", "repository": {
"type": "git",
"url": "git+https://github.com/just-the-docs/just-the-docs.git"
},
"license": "MIT", "license": "MIT",
"bugs": "https://github.com/just-the-docs/just-the-docs/issues", "bugs": {
"url": "https://github.com/just-the-docs/just-the-docs/issues"
},
"devDependencies": { "devDependencies": {
"@babel/preset-env": "^7.21.4", "@babel/preset-env": "^7.21.4",
"@babel/preset-typescript": "^7.21.4", "@babel/preset-typescript": "^7.21.4",
@ -15,6 +20,7 @@
"@storybook/html": "^7.0.7", "@storybook/html": "^7.0.7",
"@storybook/html-webpack5": "^7.0.7", "@storybook/html-webpack5": "^7.0.7",
"@storybook/testing-library": "^0.0.14-next.2", "@storybook/testing-library": "^0.0.14-next.2",
"chromatic": "^6.17.3",
"npm-run-all": "^4.1.5", "npm-run-all": "^4.1.5",
"prettier": "^2.8.8", "prettier": "^2.8.8",
"react": "^18.2.0", "react": "^18.2.0",
@ -30,7 +36,8 @@
"format": "prettier --write '**/*.{scss,js,json}'", "format": "prettier --write '**/*.{scss,js,json}'",
"test": "npm run lint", "test": "npm run lint",
"storybook": "bundle exec jekyll build && storybook dev -p 6006", "storybook": "bundle exec jekyll build && storybook dev -p 6006",
"build-storybook": "bundle exec jekyll build && storybook build" "build-storybook": "bundle exec jekyll build && storybook build",
"chromatic": "npx chromatic --project-token=9355f489c51b -d storybook-static"
}, },
"stylelint": { "stylelint": {
"ignoreFiles": [ "ignoreFiles": [
@ -56,5 +63,7 @@
"singleQuote": false, "singleQuote": false,
"tabWidth": 2, "tabWidth": 2,
"trailingComma": "es5" "trailingComma": "es5"
} },
"homepage": "https://just-the-docs.com",
"_id": "just-the-docs@0.5.0"
} }