Skip to content
This repository was archived by the owner on Oct 10, 2020. It is now read-only.

Commit a0d9d4d

Browse files
committed
npm init @bouzuya/purescript-react-basic
1 parent 14c82df commit a0d9d4d

File tree

12 files changed

+8611
-0
lines changed

12 files changed

+8611
-0
lines changed

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/.cache/
2+
/.env*
3+
/.psc*
4+
/*.tgz
5+
/bundle.js
6+
/dist/
7+
/node_modules/
8+
/output/

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2018 bouzuya
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,23 @@
22

33
[mockmock.dev #195](https://mockmock.connpass.com/event/113191/) application
44

5+
6+
## How to build
7+
8+
```
9+
$ npm install
10+
$ npm run serve # for development
11+
$ npm run build # for production
12+
```
13+
14+
## License
15+
16+
[MIT](LICENSE)
17+
18+
## Author
19+
20+
[bouzuya][user] <[m@bouzuya.net][email]> ([https://bouzuya.net/][url])
21+
22+
[user]: https://github.com/bouzuya
23+
[email]: mailto:m@bouzuya.net
24+
[url]: https://bouzuya.net/

index.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!DOCTYPE html>
2+
<html lang="ja">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
7+
<title></title>
8+
</head>
9+
<body>
10+
<div id="container"></div>
11+
<script src="./index.js"></script>
12+
</body>
13+
</html>

index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
if (process.env.NODE_ENV === 'production') {
2+
require('./bundle');
3+
} else {
4+
require('./output/Main').main();
5+
}

0 commit comments

Comments
 (0)