Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
87e29d3d66 |
No files matched your search
@@ -34,10 +34,6 @@ local.properties
|
||||
#
|
||||
.vscode/
|
||||
|
||||
# TypeScript
|
||||
#
|
||||
lib/
|
||||
|
||||
# node.js
|
||||
#
|
||||
node_modules/
|
||||
|
||||
@@ -18,7 +18,7 @@ node setup.js
|
||||
|
||||
- [TypeScript](https://github.com/Microsoft/TypeScript)
|
||||
- [TypeScript type definitions for React & React Native](https://github.com/DefinitelyTyped/DefinitelyTyped)
|
||||
- [react-native-typescript-transformer](https://github.com/ds300/react-native-typescript-transformer)
|
||||
- [React Native Typescript Transformer](https://github.com/ds300/react-native-typescript-transformer)
|
||||
- [TSLint](https://github.com/palantir/tslint)
|
||||
- [TSLint React](https://github.com/palantir/tslint-react)
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ const devDependencies = require('./devDependencies.json');
|
||||
const deleteFile = (fileName) => fs.unlinkSync(path.join(process.cwd(), fileName));
|
||||
const writeFile = (fileName, data) => fs.writeFileSync(path.join(process.cwd(), fileName), data);
|
||||
|
||||
packageJson.scripts.start = `${packageJson.scripts.start} --config ${path.join(process.cwd(), 'rn-cli.config.js')}`;
|
||||
packageJson.scripts.start = `${packageJson.scripts.start} --config ../../../../rn-cli.config.js')}`;
|
||||
packageJson.scripts.lint = 'tslint -c tslint.json "src/**/*.{ts,tsx}"';
|
||||
writeFile('package.json', JSON.stringify(packageJson, null, 2));
|
||||
|
||||
|
||||
Reference in new issue
Block a user