|
1 | 1 | {
|
2 | 2 | "name": "gatsby-plugin-transition-link",
|
3 |
| - "version": "1.2.3", |
| 3 | + "version": "1.2.5", |
4 | 4 | "description": "A link component for page transitions in gatsby.",
|
5 | 5 | "repository": "https://github.com/TylerBarnes/gatsby-plugin-transition-link",
|
6 | 6 | "homepage": "https://gatsby-plugin-transition-link.netlify.com/",
|
|
16 | 16 | "css",
|
17 | 17 | "react animation"
|
18 | 18 | ],
|
19 |
| - "main": "src/index.js", |
| 19 | + "main": "index.js", |
20 | 20 | "author": "Tyler Barnes <[email protected]>",
|
21 | 21 | "license": "MIT",
|
22 | 22 | "scripts": {
|
23 |
| - "develop": "cp -rf package.json src && cd example && gatsby develop", |
24 |
| - "copy-npm-files": "cp -rf package.json lib && cp -rf readme.md lib", |
25 |
| - "clean-lib": "node_modules/.bin/rimraf ./lib", |
26 |
| - "build": "rm src/package.json || true && yarn clean-lib && babel --preset preset-env src --out-dir lib --ignore __tests__ && yarn copy-npm-files" |
| 23 | + "copy-files": "mkdir lib || true && cp .eslintrc.json package.json lib", |
| 24 | + "build": "yarn copy-files && babel src --out-dir lib --ignore **/__tests__", |
| 25 | + "watch": "yarn copy-files && babel -w src --out-dir lib --ignore **/__tests__", |
| 26 | + "prepare-files": "cross-env NODE_ENV=production yarn build", |
| 27 | + "publish-repo": "yarn copy-files && cd lib && npm publish && cd ../", |
| 28 | + "publish-patch": "yarn prepare-files && npx json-bump --patch=1 package.json && yarn publish-repo", |
| 29 | + "publish-minor": "yarn prepare-files && npx json-bump --minor=1 package.json && yarn publish-repo", |
| 30 | + "publish-major": "yarn prepare-files && npx json-bump --major=1 package.json && yarn publish-repo" |
27 | 31 | },
|
28 | 32 | "devDependencies": {
|
29 | 33 | "@babel/cli": "^7.1.2",
|
|
34 | 38 | "rimraf": "^2.6.2"
|
35 | 39 | },
|
36 | 40 | "dependencies": {
|
| 41 | + "babel-preset-gatsby-package": "^0.1.2", |
37 | 42 | "color-convert": "^1.9.3",
|
| 43 | + "cross-env": "^5.2.0", |
| 44 | + "json-bump": "^0.1.3", |
38 | 45 | "polyfill-array-includes": "^1.0.0",
|
39 | 46 | "react": "^16.6.0",
|
40 | 47 | "react-transition-group": "^2.5.0",
|
|
0 commit comments