Comments (8)
it might :)
from create-react-hook.
I agree it would be nice if created projects had that setting by default. What I'm saying is I don't know how to make it work. If I add that setting into templates here, then I won't be able to publish create-react-hook on npm, because it's not going to include all files. I'm sure there is a way around that, but I don't know what it is.
from create-react-hook.
The problem is that other files in that directory will be ignored when I publish create-react-hook. Nesting package.jsons is problematic. But there must be a way to do it
from create-react-hook.
ok. It's a Proposal. My project has no problem.
packages.json does not include "files" property by create-react-app project-name --typescript`
Wouldn't it be nice for TypeScript library developers in most cases?
The problem is that other files in that directory will be ignored when I publish create-react-hook.
Does it affect "gh-pages" sample project deploy? It is better to deploy the module.
from create-react-hook.
I resolved it as follows:
"files": [
"dist/"
],
in the file package.json
from create-react-hook.
I agree it would be nice if created projects had that setting by default. What I'm saying is I don't know how to make it work. If I add that setting into templates here, then I won't be able to publish create-react-hook on npm, because it's not going to include all files. I'm sure there is a way around that, but I don't know what it is.
How is the create-react-hook package.json file created for the Typescript template?
from create-react-hook.
It's copied from https://github.com/Hermanya/create-react-hook/blob/master/template/typescript/package.json
from create-react-hook.
It's copied from https://github.com/Hermanya/create-react-hook/blob/master/template/typescript/package.json
Wouldn't a variable like that in {{name}}
solve automatically?
from create-react-hook.
Related Issues (20)
- Please add my hook use-auto-progress to your readme HOT 1
- Permission issue when use create react hook script HOT 4
- npm test script not recognize the generated test HOT 1
- Add useMarked() hook HOT 1
- Travis error when committing on github HOT 2
- 👏I like your project HOT 1
- keep on npm install HOT 2
- Add useDebounceInput hook HOT 1
- Help needed to bundle React components HOT 4
- I'm using create-react-hook! HOT 1
- Add use-as-bind to list of hooks? HOT 1
- Add use-reducer-with-effects HOT 3
- Jest won't recognise test files outside src folder
- Freezes on invalid name
- Typescript build fails with generic types
- Error: npm publish - Too many dependencies HOT 1
- consider to upgrade react version in template
- hook rule validation after being imported in real project
- [Question] What is the difference between this and create-react-app?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from create-react-hook.