Skip to content
This repository was archived by the owner on Apr 20, 2023. It is now read-only.

Commit f25a8c7

Browse files
committed
Prep for alpha release
1 parent d654827 commit f25a8c7

File tree

3 files changed

+18
-2
lines changed

3 files changed

+18
-2
lines changed

.npmignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.gitignore
2+
.babelrc
3+
.eslingignore
4+
.eslintrc.js
5+
.prettierignore
6+
.prettierrc.yml
7+
src/
8+
examples/

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,17 @@ next page isn't mounted until the previous one has completed its exit animation.
1111
It also has built-in support for showing a loading indicator if your page
1212
component has to load data before it can be shown.
1313

14+
### Examples
15+
16+
If you prefer to learn by example, check out the `examples` directory for
17+
some Next.js apps that demonstrate how this library can be used.
18+
1419
### Getting started
1520

1621
First, install the package:
1722

1823
```
19-
npm install next-page-transitions
24+
npm install --save next-page-transitions
2025
```
2126

2227
Next, ensure that your app has a custom `App` component; if not,

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,11 @@
33
"version": "1.0.0-alpha.1",
44
"description": "Simple and customizable page transitions for Next.js apps",
55
"main": "lib/index.js",
6+
"files": [
7+
"lib/"
8+
],
69
"scripts": {
7-
"build": "rimraf lib && cp README.md LICENSE ./lib && babel src --out-dir lib",
10+
"build": "rimraf lib && babel src --out-dir lib",
811
"build-watch": "rimraf lib && babel src --out-dir lib --watch",
912
"prettier": "prettier --write \"src/**/*.js\" \"examples/**/*.js\"",
1013
"prettier-diff": "prettier --list-different \"src/**/*.js\" \"examples/**/*.js\"",

0 commit comments

Comments
 (0)