|
21 | 21 | "build:examples": "webpack --progress --colors", |
22 | 22 | "build:watch": "tsc --outDir lib/ -w", |
23 | 23 | "prepublish": "yarn build", |
24 | | - "postpublish": "yarn publish:site", |
25 | | - "publish:site": "NODE_ENV=production yarn build:examples && gh-pages -d examples/dist", |
| 24 | + "publish:examples": "NODE_ENV=production yarn build:examples && gh-pages -d examples/dist -r $GITHUB_REPO_URL", |
| 25 | + "publish:examples:local": "NODE_ENV=production yarn build:examples && gh-pages -d examples/dist", |
26 | 26 | "start:examples": "webpack-dev-server --open --hot --inline --host 192.168.31.72", |
27 | 27 | "test": "mocha --require ts-node/register --require enzyme.ts ./test/index.tsx", |
28 | 28 | "test:watch": "mocha --require ts-node/register --require enzyme.ts --watch-extensions ts,tsx --watch ./test/index.tsx" |
|
31 | 31 | "classnames": "^2.2.6", |
32 | 32 | "diff": "^3.5.0", |
33 | 33 | "emotion": "^9.2.10", |
| 34 | + "memoize-one": "^4.0.2", |
34 | 35 | "prop-types": "^15.6.2" |
35 | 36 | }, |
36 | 37 | "devDependencies": { |
|
41 | 42 | "@types/expect": "^1.20.3", |
42 | 43 | "@types/memoize-one": "^3.1.1", |
43 | 44 | "@types/mocha": "^5.2.5", |
| 45 | + "@types/node": "^10.12.2", |
44 | 46 | "@types/react": "^16.4.14", |
45 | 47 | "@types/react-dom": "^16.0.8", |
46 | 48 | "@types/webpack": "^4.4.13", |
|
52 | 54 | "file-loader": "^2.0.0", |
53 | 55 | "gh-pages": "^2.0.1", |
54 | 56 | "html-webpack-plugin": "^3.2.0", |
55 | | - "memoize-one": "^4.0.2", |
56 | 57 | "mini-css-extract-plugin": "^0.4.3", |
57 | 58 | "mocha": "^5.2.0", |
58 | 59 | "node-sass": "^4.9.3", |
|
0 commit comments