You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
carbon/package.json

130 lines
3.5 KiB
JSON

8 years ago
{
7 years ago
"name": "carbon",
5 years ago
"version": "4.7.0",
8 years ago
"main": "index.js",
"license": "MIT",
"scripts": {
"dev": "next",
8 years ago
"build": "next build",
"start": "next start",
"test:e2e": "npm run cy:run --",
"deploy": "now -S carbon-app",
"prettier": "prettier --config .prettierrc --write {.,components,lib,pages}/*.js {components,lib,pages}/**/*.js",
"lint": "eslint .",
"contrib:add": "all-contributors add",
"contrib:build": "all-contributors generate",
"cy:run": "cypress run --config-file cypress/config.json",
"cy:open": "cypress open --config-file cypress/config.json",
"preinstall": "node ./node_modules/use-climate-change-reminder/index.js || exit 0"
8 years ago
},
"dependencies": {
"@next/bundle-analyzer": "^9.3.6",
"@reach/visually-hidden": "^0.10.1",
"acorn": "^7.1.1",
"actionsack": "^0.0.13",
"axios": "^0.19.2",
"cm-show-invisibles": "^3.0.1",
"codemirror": "^5.53.2",
5 years ago
"codemirror-graphql": "^0.11.6",
"codemirror-mode-elixir": "^1.1.2",
"codemirror-solidity": "^0.2.2",
"date-fns": "^2.12.0",
"dom-to-image": "^2.6.0",
"downshift": "^5.2.2",
"dropperx": "^1.0.1",
"eitherx": "^1.0.2",
"escape-goat": "^3.0.0",
"firebase": "^7.14.2",
"graphql": "^15.0.0",
"highlight.js": "^10.0.1",
"kind-of": "^6.0.3",
"lodash.debounce": "^4.0.8",
Add preset feature (#595) * Add preset feature without create * fix lint errors * Add presets to Editor state * add remove, update -> apply, omit presets * replace name with index, add undo functionality * fix reduce function * Tweaks: - Make remove filter setState atomic - Remove broken sCU in BackgroundSelect - Touch up style of arrow functions a little - Remove titleBar from default settings - Don't expose SETTINGS_KEYS - Use hasOwnProperty instead of includes() * refactor preset state into Settings * move format code into editor and make it work again * omit custom in applyPreset * move presets array state into Settings * keep custom sCU in BackgroundSelect * pull out inline objects * revert pages/index * increase Presets font-size, remove margin-top * Add ability to create presets * also enable passing exportSize as prop * move selectedPreset back into Settings (my bad Sean) * replace splice with filter, getSavedX -> getX * Revert "move selectedPreset back into Settings (my bad Sean)" This reverts commit ae5da4700ea36ad7c31e697e83a2724be4b448f4. * make sure background updates remove selected preset * selectedPreset -> preset * use onChange instead of selectPreset * use preset id's instead of indexes * bug fixes * use disabled instead of pointer-events * make .settings-presets-applied flex 💪 * make .settings-presets-arrow flex 💪 * move getPresets outside of `setState` * move inline styles to style tag * refactor using omitBy and isFunction * remove lodash.isfunction * fix applyPreset to disclude preset field * move omit to getSettingsFromProps * replace lodash.omit with omitBy solution * .includes -> .indexOf * add default preset and presetApplied state * fix lint error * remove presetApplied * add more default presets * fix default preset functionality * tweaks * preserve preset list scrollLeft b/w updates with a hack * Use ref for preset content * remove forwardRef
6 years ago
"lodash.omitby": "^4.6.0",
"match-sorter": "^4.1.0",
"minimist": "^1.2.5",
"morphmorph": "^0.1.3",
"ms": "^2.1.2",
"next": "^9.4.0",
"next-offline": "^5.0.2",
"prettier": "^2.0.5",
"react": "^16.13.1",
7 years ago
"react-click-outside": "^3.0.0",
"react-codemirror2": "^7.1.0",
"react-color": "^2.18.0",
"react-copy-to-clipboard": "^5.0.2",
"react-dom": "^16.13.1",
"react-image-crop": "^6.0.16",
"react-is": "^16.13.1",
"react-spinner": "^0.2.7",
"react-stripe-elements": "^6.1.2",
7 years ago
"react-syntax-highlight": "^15.3.1",
"serialize-javascript": "^3.0.0",
"tohash": "^1.0.2",
"use-climate-change-reminder": "^0.0.7"
},
"devDependencies": {
"@applitools/eyes-cypress": "^3.10.2",
"all-contributors-cli": "^6.14.2",
"babel-eslint": "^10.1.0",
"cypress": "^4.5.0",
5 years ago
"eslint": "^6.8.0",
"eslint-plugin-import": "^2.20.2",
6 years ago
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^3.0.0",
"husky": "^4.2.5",
"lint-staged": "^10.2.0",
"now": "^18.0.0",
"now-release": "^0.0.2",
"wait-on": "^4.0.2"
},
"engines": {
"node": "12.x"
},
"lint-staged": {
6 years ago
"*.js": [
"npm run lint",
"prettier --config .prettierrc --write"
],
".all-contributorsrc": [
"npm run contrib:build"
]
},
"greenkeeper": {
"groups": {
"app": {
"packages": [
"package.json"
],
"ignore": [
"graphql",
"react-image-crop"
]
},
"integrations": {
"packages": [
"packages/gatsby-remark-embed-carbon/package.json"
]
}
}
},
7 years ago
"description": "Create and share beautiful images of your source code",
"repository": {
"type": "git",
"url": "git+https://github.com/carbon-app/carbon.git"
},
"bugs": {
"url": "https://github.com/carbon-app/carbon/issues"
},
"homepage": "https://carbon.now.sh",
6 years ago
"husky": {
"hooks": {
"pre-commit": "lint-staged"
6 years ago
}
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/carbon-app"
6 years ago
}
8 years ago
}