1
0
Fork 0

bugfix; ensure example is correctly symlinked

This commit is contained in:
Travis Fischer 2018-07-30 23:42:28 -04:00 committed by Joost De Cock
parent d0cd660064
commit 0a5d6f1317
5 changed files with 12 additions and 3 deletions

View file

@ -14,7 +14,8 @@
"test": "ava -v && standard *.js lib/*.js" "test": "ava -v && standard *.js lib/*.js"
}, },
"engines": { "engines": {
"node": ">=4" "node": ">=8",
"npm": ">=5"
}, },
"keywords": [ "keywords": [
"react", "react",

View file

@ -9,7 +9,7 @@
"react": "^16.4.1", "react": "^16.4.1",
"react-dom": "^16.4.1", "react-dom": "^16.4.1",
"react-scripts": "^1.1.4", "react-scripts": "^1.1.4",
"{{name}}": "file:.." "{{name}}": "{{#if yarn}}link:..{{else}}file:..{{/if}}"
}, },
"scripts": { "scripts": {
"start": "react-scripts start", "start": "react-scripts start",

View file

@ -8,6 +8,10 @@
"main": "dist/index.js", "main": "dist/index.js",
"module": "dist/index.es.js", "module": "dist/index.es.js",
"jsnext:main": "dist/index.es.js", "jsnext:main": "dist/index.es.js",
"engines": {
"node": ">=8",
"npm": ">=5"
},
"scripts": { "scripts": {
"test": "cross-env CI=1 react-scripts test --env=jsdom", "test": "cross-env CI=1 react-scripts test --env=jsdom",
"test:watch": "react-scripts test --env=jsdom", "test:watch": "react-scripts test --env=jsdom",

View file

@ -9,7 +9,7 @@
"react": "^16.4.1", "react": "^16.4.1",
"react-dom": "^16.4.1", "react-dom": "^16.4.1",
"react-scripts": "^1.1.4", "react-scripts": "^1.1.4",
"{{name}}": "file:.." "{{name}}": "{{#if yarn}}link:..{{else}}file:..{{/if}}"
}, },
"scripts": { "scripts": {
"start": "react-scripts start", "start": "react-scripts start",

View file

@ -8,6 +8,10 @@
"main": "dist/index.js", "main": "dist/index.js",
"module": "dist/index.es.js", "module": "dist/index.es.js",
"jsnext:main": "dist/index.es.js", "jsnext:main": "dist/index.es.js",
"engines": {
"node": ">=8",
"npm": ">=5"
},
"scripts": { "scripts": {
"test": "cross-env CI=1 react-scripts-ts test --env=jsdom", "test": "cross-env CI=1 react-scripts-ts test --env=jsdom",
"test:watch": "react-scripts-ts test --env=jsdom", "test:watch": "react-scripts-ts test --env=jsdom",