Skip to content

Commit 4cbe707

Browse files
shashkovdanilbrentvatne
authored andcommitted
Replace fly with taskr
1 parent e73fafb commit 4cbe707

File tree

8 files changed

+350
-283
lines changed

8 files changed

+350
-283
lines changed

create-react-native-app/package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,30 +20,30 @@
2020
"create-react-native-app": "./build/index.js"
2121
},
2222
"scripts": {
23-
"start": "fly",
24-
"build": "fly babel"
23+
"start": "taskr",
24+
"build": "taskr babel"
2525
},
2626
"dependencies": {
2727
"babel-runtime": "^6.9.2",
28-
"chalk": "^1.1.1",
29-
"cross-spawn": "^4.0.0",
28+
"chalk": "^2.0.1",
29+
"cross-spawn": "^5.1.0",
3030
"fs-extra": "^3.0.1",
3131
"minimist": "^1.2.0",
32-
"path-exists": "^2.1.0",
32+
"path-exists": "^3.0.0",
3333
"semver": "^5.0.3",
3434
"source-map-support": "^0.4.1"
3535
},
3636
"devDependencies": {
37+
"@taskr/babel": "^1.0.6",
38+
"@taskr/clear": "^1.0.6",
39+
"@taskr/esnext": "^1.0.0",
40+
"@taskr/shell": "^1.0.6",
41+
"@taskr/watch": "^1.0.6",
3742
"babel-plugin-add-module-exports": "^0.2.1",
3843
"babel-plugin-transform-flow-strip-types": "^6.8.0",
3944
"babel-plugin-transform-runtime": "^6.9.0",
4045
"babel-preset-es2015": "^6.9.0",
4146
"babel-preset-stage-1": "^6.5.0",
42-
"fly": "^2.0.5",
43-
"fly-babel": "^2.1.1",
44-
"fly-clear": "^1.0.1",
45-
"fly-esnext": "^2.0.0",
46-
"fly-shell": "^2.1.0",
47-
"fly-watch": "^1.1.1"
47+
"taskr": "^1.0.6"
4848
}
4949
}

create-react-native-app/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ function getInstallPackage(version: ?string): string {
159159
let packageToInstall = 'react-native-scripts';
160160
const validSemver = semver.valid(version);
161161
if (validSemver) {
162-
packageToInstall += '@' + validSemver;
162+
packageToInstall += `@${validSemver}`;
163163
} else if (version) {
164164
// for tar.gz or alternative paths
165165
packageToInstall = version;
File renamed without changes.

0 commit comments

Comments
 (0)