-
Notifications
You must be signed in to change notification settings - Fork 1
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
0 parents
commit a2d7415
Showing
75 changed files
with
2,756 additions
and
0 deletions.
There are no files selected for viewing
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,3 @@ | ||
!.* | ||
/lib | ||
/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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"extends": ["env"], | ||
"rules": { | ||
"arrow-body-style": ["error", "always"], | ||
"curly": ["error", "all"], | ||
"node/no-unsupported-features/es-syntax": [ | ||
"error", | ||
{ | ||
"ignores": ["modules"] | ||
} | ||
] | ||
}, | ||
"ignorePatterns": ["node_modules/", "dist"] | ||
} |
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,27 @@ | ||
name: Node.js CI | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
pull_request: | ||
branches: [master] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [10.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: npm i | ||
- run: npm run prepare | ||
- run: npm run test | ||
env: | ||
CI: true |
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,6 @@ | ||
/lib | ||
/test | ||
node_modules/ | ||
.DS_Store | ||
npm-debug.log | ||
package-lock.json |
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 @@ | ||
package-lock=false |
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,3 @@ | ||
package.json | ||
/snapshots | ||
/src/lib/css/murmur2.js |
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,4 @@ | ||
{ | ||
"proseWrap": "never", | ||
"singleQuote": true | ||
} |
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,7 @@ | ||
[ | ||
{ | ||
"path": "lib/index.js", | ||
"limit": "9 KB", | ||
"ignore": ["prop-types"] | ||
} | ||
] |
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 @@ | ||
export * from '@emotion/core'; |
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,84 @@ | ||
{ | ||
"name": "mystical", | ||
"description": "Atomised CSS constraint based styling", | ||
"version": "1.0.0", | ||
"author": "David Burles", | ||
"license": "MIT", | ||
"repository": "github:dburles/mystical", | ||
"homepage": "https://github.com/dburles/mystical#readme", | ||
"bugs": "https://github.com/dburles/mystical/issues", | ||
"keywords": [ | ||
"mystical", | ||
"css", | ||
"css-in-js", | ||
"styles", | ||
"react" | ||
], | ||
"engines": { | ||
"node": ">=10" | ||
}, | ||
"browserslist": [ | ||
"> 0.5%", | ||
"not dead", | ||
"not ie < 11", | ||
"not op_mini all" | ||
], | ||
"scripts": { | ||
"prepare": "npm run prepare:clean && npm run prepare:cjs && npm run prepare:prettier", | ||
"prepare:clean": "rm -rf lib test", | ||
"prepare:cjs": "babel src -d .", | ||
"prepare:prettier": "prettier --write lib test", | ||
"test": "npm run test:eslint && npm run test:prettier && npm run test:cjs && npm run test:size", | ||
"test:eslint": "eslint .", | ||
"test:prettier": "prettier -c .", | ||
"test:cjs": "coverage-node -r hard-rejection/register test", | ||
"test:size": "size-limit", | ||
"dev": "chokidar src --initial -c 'npm run prepare && npm run test:cjs --silent'" | ||
}, | ||
"files": [ | ||
"index.d.ts", | ||
"lib" | ||
], | ||
"main": "lib/index.js", | ||
"types": "index.d.ts", | ||
"devDependencies": { | ||
"@babel/cli": "^7.8.4", | ||
"@babel/core": "^7.9.0", | ||
"@babel/node": "^7.8.7", | ||
"@babel/plugin-transform-runtime": "^7.9.0", | ||
"@babel/preset-env": "^7.9.5", | ||
"@babel/preset-react": "^7.9.4", | ||
"@size-limit/preset-small-lib": "^4.5.0", | ||
"@testing-library/react": "^10.0.2", | ||
"babel-eslint": "^10.1.0", | ||
"chokidar-cli": "^2.1.0", | ||
"coverage-node": "^2.0.3", | ||
"eslint": "^6.8.0", | ||
"eslint-config-env": "^13.0.4", | ||
"eslint-config-prettier": "^6.10.1", | ||
"eslint-plugin-compat": "^3.5.1", | ||
"eslint-plugin-import": "^2.20.2", | ||
"eslint-plugin-jsdoc": "^22.1.0", | ||
"eslint-plugin-node": "^11.1.0", | ||
"eslint-plugin-prettier": "^3.1.2", | ||
"eslint-plugin-react": "^7.19.0", | ||
"eslint-plugin-react-hooks": "^3.0.0", | ||
"hard-rejection": "^2.1.0", | ||
"nodemon": "^2.0.3", | ||
"prettier": "^2.0.4", | ||
"react": "^16.13.1", | ||
"react-dom": "^16.13.1", | ||
"size-limit": "^4.5.0", | ||
"snapshot-assertion": "^1.0.0", | ||
"test-director": "^4.0.0" | ||
}, | ||
"dependencies": { | ||
"@babel/runtime": "^7.9.2", | ||
"deepmerge": "^4.2.2", | ||
"prop-types": "^15.7.2", | ||
"stylis": "^4.0.0" | ||
}, | ||
"peerDependencies": { | ||
"react": "^16.13.1" | ||
} | ||
} |
Oops, something went wrong.