Commit aa1db580 authored by Zach Pomerantz's avatar Zach Pomerantz Committed by GitHub

Revert "chore: stub out new component lib (#2467)" (#2472)

This reverts commit 496a963d.
parent 496a963d
......@@ -16,9 +16,6 @@
# production
/build
# bundle
/dist
# misc
.DS_Store
.env.local
......
{
"staticPath": "public",
"watchDirs": ["src"],
"webpack": {
"configPath": "react-scripts/config/webpack.config"
}
}
{
"name": "@uniswap/interface",
"description": "Uniswap Interface",
"homepage": "https://github.com/Uniswap/interface",
"main": "dist/interface.js",
"module": "dist/interface.esm.js",
"types": "dist/index.d.ts",
"files": [
"lib",
"dist"
],
"homepage": ".",
"private": true,
"devDependencies": {
"@davatar/react": "1.6.2",
......@@ -78,7 +71,6 @@
"array.prototype.flatmap": "^1.2.4",
"cids": "^1.0.0",
"copy-to-clipboard": "^3.2.0",
"cross-env": "^7.0.3",
"cypress": "^7.7.0",
"d3": "^7.0.0",
"eslint": "^7.11.0",
......@@ -93,7 +85,6 @@
"inter-ui": "^3.13.1",
"jest-styled-components": "^7.0.5",
"luxon": "^1.25.0",
"microbundle": "^0.13.3",
"ms.macro": "^2.0.0",
"multicodec": "^3.0.1",
"multihashes": "^4.0.2",
......@@ -104,7 +95,6 @@
"qs": "^6.9.4",
"react": "^17.0.1",
"react-confetti": "^6.0.0",
"react-cosmos": "^5.6.3",
"react-dom": "^17.0.1",
"react-feather": "^2.0.8",
"react-ga": "^2.5.7",
......@@ -148,9 +138,7 @@
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --env=./custom-test-env.js",
"test:e2e": "start-server-and-test 'serve build -l 3000' http://localhost:3000 'cypress run --record'",
"bundle": "microbundle --tsconfig tsconfig.lib.json src/lib/index.tsx --format esm,cjs",
"cosmos": "open http://localhost:5000 && cross-env FAST_REFRESH=false cosmos"
"test:e2e": "start-server-and-test 'serve build -l 3000' http://localhost:3000 'cypress run --record'"
},
"eslintConfig": {
"extends": "react-app",
......
import './'
describe('lib', () => {
it('exists', () => {
expect(true).toBeTruthy()
})
})
......@@ -27,5 +27,5 @@
"baseUrl": "src"
},
"exclude": ["node_modules", "cypress"],
"include": ["src/**/*"]
"include": ["./src/**/*.ts", "./src/**/*.tsx", "src/components/Confetti/index.js"]
}
{
"extends": "./tsconfig.json",
"compilerOptions": {
"jsx": "preserve",
"baseUrl": "src/lib"
},
"exclude": ["node_modules", "src/lib/**/*.test.*"],
"include": ["src/lib/**/*"]
}
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment