-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
969 additions
and
944 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
DEFAULT_GOAL: build | ||
|
||
clean: | ||
make -C packages/demo $@ | ||
make -C packages/react-sunbeam $@ | ||
|
||
build: clean | ||
make -C packages/react-sunbeam $@ | ||
make -C packages/demo $@ | ||
|
||
dev: build | ||
yarn concurrently -n sunb,demo -c red,blue \ | ||
"make -C packages/react-sunbeam ${@}" \ | ||
"make -C packages/demo ${@}" | ||
|
||
type-check: | ||
yarn tsc --noEmit | ||
|
||
test: | ||
make -C packages/react-sunbeam $@ | ||
|
||
PHONY: clean build dev type-check test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
DEFAULT_GOAL: build | ||
|
||
build: | ||
clean: | ||
rm -rf dist | ||
|
||
build: clean | ||
yarn tsc | ||
|
||
dev: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,14 @@ | ||
{ | ||
"name": "demo", | ||
"version": "2.0.0-alpha.1", | ||
"main": "index.js", | ||
"repository": "git+https://github.com/wzrdzl/react-sunbeam.git", | ||
"author": "Vova Guguiev <[email protected]>", | ||
"license": "MIT", | ||
"version": "1.0.0", | ||
"private": true, | ||
"dependencies": { | ||
"framer-motion": "^2.9.4", | ||
"history": "^5.0.0", | ||
"react": "^17.0.1", | ||
"react-dom": "^17.0.1", | ||
"react-router": "^5.2.0", | ||
"react-router-dom": "^5.2.0", | ||
"react-sunbeam": "^2.0.0-alpha.1" | ||
}, | ||
"devDependencies": { | ||
"@types/react": "^17.0.0", | ||
"@types/react-dom": "^17.0.0", | ||
"@types/react-router-dom": "^5.1.6", | ||
"concurrently": "^6.0.0", | ||
"http-server": "^0.12.3", | ||
"framer-motion": "^3.10.3", | ||
"react-router": "^5.2.0", | ||
"@types/react-router-dom": "5.1.6", | ||
"typescript": "^4.1.2" | ||
}, | ||
"alias": { | ||
"scheduler/tracing": "scheduler/tracing-profiling" | ||
}, | ||
"browserslist": [ | ||
">5%", | ||
"not dead", | ||
"not ie <= 11", | ||
"not op_mini all" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
DEFAULT_GOAL: build | ||
|
||
clean: | ||
rm -rf dist | ||
|
||
build: clean | ||
yarn tsc | ||
|
||
dev: | ||
yarn tsc --watch --preserveWatchOutput | ||
|
||
type-check: | ||
yarn tsc --noEmit | ||
|
||
test: | ||
yarn jest | ||
|
||
PHONY: clean build dev type-check test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,9 +9,7 @@ | |
"focus-management" | ||
], | ||
"main": "./dist/cjs/index.js", | ||
"exports": { | ||
".": "./dist/es/index.js" | ||
}, | ||
"exports": "./dist/es/index.js", | ||
"module": "./dist/es/index.js", | ||
"types": "./dist/es/index.d.ts", | ||
"repository": { | ||
|
@@ -21,14 +19,6 @@ | |
}, | ||
"author": "Vova Guguiev <[email protected]>", | ||
"license": "MIT", | ||
"scripts": { | ||
"build": "tsc", | ||
"clean": "rimraf dist", | ||
"dev": "tsc --watch --preserveWatchOutput", | ||
"prebuild": "npm run clean", | ||
"test": "jest", | ||
"type-check": "tsc --noEmit" | ||
}, | ||
"devDependencies": { | ||
"@testing-library/react": "^11.1.2", | ||
"@types/jest": "^26.0.15", | ||
|
@@ -44,11 +34,5 @@ | |
"peerDependencies": { | ||
"react": "^16 || ^17", | ||
"react-dom": "^16 || ^17" | ||
}, | ||
"browserslist": [ | ||
">0.2%", | ||
"not dead", | ||
"not ie <= 11", | ||
"not op_mini all" | ||
] | ||
} | ||
} |
Oops, something went wrong.