parent
21bc7e6e7e
commit
e1973240a6
@ -0,0 +1,16 @@ |
||||
{ |
||||
"presets": [ |
||||
[ |
||||
"@nrwl/react/babel", { |
||||
"runtime": "automatic", |
||||
"useBuiltIns": "usage" |
||||
|
||||
} |
||||
] |
||||
], |
||||
"plugins": [ |
||||
|
||||
|
||||
|
||||
] |
||||
} |
@ -1,5 +1,6 @@ |
||||
{ |
||||
"extends": [ |
||||
"plugin:@nrwl/nx/react", |
||||
"../../../.eslintrc.json" |
||||
], |
||||
"ignorePatterns": [ |
@ -0,0 +1,7 @@ |
||||
# remix-ui-drag-n-drop |
||||
|
||||
This library was generated with [Nx](https://nx.dev). |
||||
|
||||
## Running unit tests |
||||
|
||||
Run `nx test remix-ui-drag-n-drop` to execute the unit tests via [Jest](https://jestjs.io). |
@ -0,0 +1,9 @@ |
||||
module.exports = { |
||||
displayName: 'remix-ui-drag-n-drop', |
||||
preset: '../../../jest.preset.js', |
||||
transform: { |
||||
'^.+\\.[tj]sx?$': 'babel-jest' |
||||
}, |
||||
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'], |
||||
coverageDirectory: '../../../coverage/libs/remix-ui/drag-n-drop' |
||||
}; |
@ -0,0 +1,4 @@ |
||||
{ |
||||
"name": "@remix-ui/drag-n-drop", |
||||
"version": "0.0.1" |
||||
} |
@ -0,0 +1,2 @@ |
||||
|
||||
export * from './lib/remix-ui-drag-n-drop'; |
@ -0,0 +1,10 @@ |
||||
import { render } from '@testing-library/react'; |
||||
|
||||
import RemixUiDragNDrop from './remix-ui-drag-n-drop'; |
||||
|
||||
describe('RemixUiDragNDrop', () => { |
||||
it('should render successfully', () => { |
||||
const { baseElement } = render(< RemixUiDragNDrop />); |
||||
expect(baseElement).toBeTruthy(); |
||||
}); |
||||
}); |
@ -1,13 +1,17 @@ |
||||
{ |
||||
"extends": "../../../tsconfig.base.json", |
||||
"files": [], |
||||
"include": [], |
||||
"compilerOptions": { |
||||
"jsx": "react", |
||||
"jsx": "react-jsx", |
||||
"allowJs": true, |
||||
"esModuleInterop": true, |
||||
"allowSyntheticDefaultImports": true |
||||
"allowSyntheticDefaultImports": true, |
||||
"forceConsistentCasingInFileNames": true, |
||||
"strict": true, |
||||
"noImplicitReturns": true, |
||||
"noFallthroughCasesInSwitch": true |
||||
}, |
||||
"files": [], |
||||
"include": [], |
||||
"references": [ |
||||
{ |
||||
"path": "./tsconfig.lib.json" |
@ -0,0 +1,13 @@ |
||||
{ |
||||
"extends": "./tsconfig.json", |
||||
"compilerOptions": { |
||||
"outDir": "../../../dist/out-tsc", |
||||
"types": ["node"] |
||||
}, |
||||
"files": [ |
||||
"../../../node_modules/@nrwl/react/typings/cssmodule.d.ts", |
||||
"../../../node_modules/@nrwl/react/typings/image.d.ts" |
||||
], |
||||
"exclude": ["**/*.spec.ts", "**/*.spec.tsx"], |
||||
"include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"] |
||||
} |
@ -1,3 +0,0 @@ |
||||
{ |
||||
"presets": [["@nrwl/web/babel", { "useBuiltIns": "usage" }]] |
||||
} |
@ -1,10 +0,0 @@ |
||||
# remix-ui-draggable |
||||
|
||||
This library was generated with [Nx](https://nx.dev). |
||||
|
||||
|
||||
## Running unit tests |
||||
|
||||
Run `nx test remix-ui-draggable` to execute the unit tests via [Jest](https://jestjs.io). |
||||
|
||||
|
@ -1,14 +0,0 @@ |
||||
module.exports = { |
||||
displayName: 'remix-ui-draggable', |
||||
preset: '../../../jest.preset.js', |
||||
globals: { |
||||
'ts-jest': { |
||||
tsconfig: '<rootDir>/tsconfig.spec.json', |
||||
} |
||||
}, |
||||
transform: { |
||||
'^.+\\.[tj]sx?$': 'ts-jest'
|
||||
}, |
||||
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'], |
||||
coverageDirectory: '../../../coverage/libs/remix-ui/draggable' |
||||
}; |
@ -1 +0,0 @@ |
||||
export * from './lib/remix-ui-draggable'; |
@ -1,7 +0,0 @@ |
||||
import { remixUiDraggable } from './remix-ui-draggable'; |
||||
|
||||
describe('remixUiDraggable', () => { |
||||
it('should work', () => { |
||||
expect(remixUiDraggable()).toEqual('remix-ui-draggable'); |
||||
}) |
||||
}) |
@ -1,11 +0,0 @@ |
||||
{ |
||||
"extends": "./tsconfig.json", |
||||
"compilerOptions": { |
||||
"module": "commonjs", |
||||
"outDir": "../../../dist/out-tsc", |
||||
"declaration": true, |
||||
"types": ["node"] |
||||
}, |
||||
"exclude": ["**/*.spec.ts"], |
||||
"include": ["**/*.ts", "src/lib/remix-ui-draggable.tsx"] |
||||
} |
Loading…
Reference in new issue