Skip to content

Commit

Permalink
feat: Add chromatic
Browse files Browse the repository at this point in the history
Note that keeping the project token in package.json is recommended:
https://www.chromatic.com/docs/circleci#run-chromatic-on-external-forks-of-open-source-projects
  • Loading branch information
novellac committed Mar 19, 2023
1 parent b6ea459 commit 0865ddf
Show file tree
Hide file tree
Showing 2 changed files with 681 additions and 27 deletions.
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"test:unit": "vitest --environment jsdom --root src/",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook"
"build-storybook": "build-storybook",
"chromatic": "npx chromatic --project-token=125161d52981"
},
"dependencies": {
"vue": "^3.2.45"
Expand All @@ -29,6 +30,7 @@
"@vue/test-utils": "^2.2.6",
"autoprefixer": "^10.4.13",
"babel-loader": "^8.3.0",
"chromatic": "^6.17.2",
"eslint": "^8.22.0",
"eslint-plugin-storybook": "^0.6.11",
"eslint-plugin-vue": "^9.3.0",
Expand All @@ -39,5 +41,7 @@
"vite": "^4.0.0",
"vitest": "^0.25.6",
"vue-loader": "^16.8.3"
}
},
"readme": "ERROR: No README data found!",
"_id": "[email protected]"
}
Loading

0 comments on commit 0865ddf

Please sign in to comment.