Skip to content
Draft
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions .eslintignore

This file was deleted.

4 changes: 0 additions & 4 deletions .eslintrc.js

This file was deleted.

11 changes: 0 additions & 11 deletions .flowconfig

This file was deleted.

Empty file removed .gitplaceholder
Empty file.
14 changes: 10 additions & 4 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
{
"semi": false,
"semi": true,
"useTabs": false,
"tabWidth": 2,
"singleQuote": true,
"trailingComma": "none",
"bracketSpacing": false,
"printWidth": 100
"trailingComma": "all",
"bracketSpacing": true,
"printWidth": 80,
"quoteProps": "as-needed",
"jsxBracketSameLine": false,
"arrowParens": "avoid",
"endOfLine": "lf"
}
31 changes: 0 additions & 31 deletions .size-snapshot.json

This file was deleted.

17 changes: 0 additions & 17 deletions .travis.yml

This file was deleted.

7 changes: 5 additions & 2 deletions ava.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@ export default {
failWithoutAssertions: true,
verbose: true,
files: [
'src/*.test.js',
'src/*.test.*',
],
extensions: [
'ts'
],
require: [
'@babel/register',
'ts-node/register',
],
};
8 changes: 0 additions & 8 deletions babel.config.js

This file was deleted.

45 changes: 15 additions & 30 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,17 @@
"module": "dist/theming.esm.js",
"typings": "./src/index.d.ts",
"files": [
"src",
"dist"
],
"engines": {
"node": ">=8"
"node": ">=12"
},
"scripts": {
"lint": "eslint .",
"flow": "flow check --max-warnings 0",
"ts-check": "tsc",
"test": "ava",
"tdd": "yarn test --watch",
"coverage": "nyc yarn test",
"coveralls": "yarn coverage && coveralls < coverage/lcov.info",
"prebuild": "rimraf dist",
"build": "rollup -c",
"prepare": "yarn build",
"match-snapshot": "SNAPSHOT=match rollup -c"
"build": "tsdx build",
"format": "prettier src/* typings/* --write"
},
"nyc": {
"include": [
Expand Down Expand Up @@ -59,43 +52,35 @@
},
"homepage": "https://github.com/cssinjs/theming#readme",
"devDependencies": {
"@babel/cli": "^7.1.0",
"@babel/core": "^7.1.0",
"@babel/plugin-proposal-class-properties": "^7.1.0",
"@babel/preset-env": "^7.1.0",
"@babel/preset-flow": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@babel/register": "^7.0.0",
"@types/react": "^16.4.18",
"ava": "^1.0.0-rc.1",
"babel-plugin-dev-expression": "^0.2.1",
"coveralls": "^3.0.0",
"eslint": "^5.8.0",
"eslint-config-jss": "^5.0.1",
"eslint-config-prettier": "^4.2.0",
"flow-bin": "^0.98.0",
"nyc": "^13.1.0",
"@rollup/plugin-typescript": "^2.1.0",
"@types/hoist-non-react-statics": "^3.3.1",
"@types/prop-types": "^15.7.2",
"@types/react": "^16.9.2",
"@types/react-test-renderer": "^16.9.1",
"@types/sinon": "^7.5.1",
"ava": "3.0.0",
"react": "^16.8.0",
"react-test-renderer": "^16.8.0",
"rimraf": "^2.6.1",
"rollup": "^0.66.6",
"rollup-plugin-babel": "^4.0.3",
"rollup-plugin-commonjs": "^9.2.0",
"rollup-plugin-node-globals": "^1.4.0",
"rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-replace": "^2.1.0",
"rollup-plugin-size-snapshot": "^0.7.0",
"rollup-plugin-typescript": "^1.0.1",
"rollup-plugin-uglify": "^6.0.0",
"sinon": "^7.1.1",
"typescript": "^3.1.6"
"ts-node": "^8.6.2",
"tsdx": "^0.12.1",
"typescript": "^3.7.4"
},
"dependencies": {
"hoist-non-react-statics": "^3.3.0",
"prop-types": "^15.5.8",
"react-display-name": "^0.2.4",
"tiny-warning": "^1.0.2"
},
"peerDependencies": {
"react": ">=16.3"
"react": ">=16.7"
}
}
113 changes: 0 additions & 113 deletions rollup.config.js

This file was deleted.

Loading