aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorLeon Jiang <leon.jiangy@gmail.com>2020-06-24 00:23:26 -0700
committerLeon Jiang <leon.jiangy@gmail.com>2020-06-24 00:23:26 -0700
commita642f52d519543d9ece4bb525e99ebc281fa6887 (patch)
tree6da0fa559714a95535e445ed9bffbdb37c70d0c6 /package.json
parent1bcb2049f80bfdbf23dc45fe6b7e3a66608b6ba7 (diff)
initial commit, add react-native/typescript boilerplate
Diffstat (limited to 'package.json')
-rw-r--r--package.json44
1 files changed, 44 insertions, 0 deletions
diff --git a/package.json b/package.json
new file mode 100644
index 00000000..7bee86c4
--- /dev/null
+++ b/package.json
@@ -0,0 +1,44 @@
+{
+ "name": "Frontend",
+ "version": "0.0.1",
+ "private": true,
+ "scripts": {
+ "android": "react-native run-android",
+ "ios": "react-native run-ios",
+ "start": "react-native start",
+ "test": "jest",
+ "lint": "eslint . --ext .js,.jsx,.ts,.tsx"
+ },
+ "dependencies": {
+ "react": "16.11.0",
+ "react-native": "0.62.2"
+ },
+ "devDependencies": {
+ "@babel/core": "^7.6.2",
+ "@babel/runtime": "^7.6.2",
+ "@react-native-community/eslint-config": "^1.0.0",
+ "@types/jest": "^24.0.24",
+ "@types/react-native": "^0.62.0",
+ "@types/react-test-renderer": "16.9.2",
+ "@typescript-eslint/eslint-plugin": "^2.27.0",
+ "@typescript-eslint/parser": "^2.27.0",
+ "babel-jest": "^24.9.0",
+ "eslint": "^6.5.1",
+ "jest": "^24.9.0",
+ "metro-react-native-babel-preset": "^0.58.0",
+ "react-test-renderer": "16.11.0",
+ "prettier": "^2.0.4",
+ "typescript": "^3.8.3"
+ },
+ "jest": {
+ "preset": "react-native",
+ "moduleFileExtensions": [
+ "ts",
+ "tsx",
+ "js",
+ "jsx",
+ "json",
+ "node"
+ ]
+ }
+}