From 95e048d4dba307174cba1e976ca312eed7686cd8 Mon Sep 17 00:00:00 2001 From: Shinya Sakemoto Date: Sat, 22 Sep 2018 20:35:32 +0900 Subject: [PATCH] Update environment --- .eslintrc | 6 ++++ .gitignore | 6 ++++ .idea/codeStyles/codeStyleConfig.xml | 5 +++ .idea/inspectionProfiles/Project_Default.xml | 6 ++++ .idea/misc.xml | 6 ++++ package.json | 33 ++++++++++++++++++++ tsconfig.json | 3 ++ 7 files changed, 65 insertions(+) create mode 100644 .eslintrc create mode 100644 .idea/codeStyles/codeStyleConfig.xml create mode 100644 .idea/inspectionProfiles/Project_Default.xml create mode 100644 .idea/misc.xml create mode 100644 package.json create mode 100644 tsconfig.json diff --git a/.eslintrc b/.eslintrc new file mode 100644 index 0000000..3eb00a9 --- /dev/null +++ b/.eslintrc @@ -0,0 +1,6 @@ +{ + "extends": "airbnb", + "rules": { + "import/no-unresolved": "off" + } +} diff --git a/.gitignore b/.gitignore index c0c69b3..0177320 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,9 @@ build/ .node_modules/ built/* package-lock.json + +# IntelliJ +.idea/analog-clock-face.iml +.idea/modules.xml +.idea/vcs.xml +.idea/workspace.xml diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml new file mode 100644 index 0000000..a55e7a1 --- /dev/null +++ b/.idea/codeStyles/codeStyleConfig.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..c6cc8c8 --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..28a804d --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000..673c9d6 --- /dev/null +++ b/package.json @@ -0,0 +1,33 @@ +{ + "name": "analog-clock-face", + "version": "0.1.0", + "private": true, + "license": "UNLICENSED", + "devDependencies": { + "@fitbit/sdk": "^1.0.2", + "@fitbit/sdk-cli": "^1.0.1", + "eslint": "^5.6.0", + "eslint-config-airbnb": "^17.1.0", + "eslint-plugin-import": "^2.14.0", + "eslint-plugin-jsx-a11y": "^6.1.1", + "eslint-plugin-react": "^7.11.1" + }, + "fitbit": { + "appUUID": "50d69af9-f680-4f73-aad4-2f7b0c30dafc", + "appType": "clockface", + "appDisplayName": "Analog Clock Face", + "iconFile": "resources/icon.png", + "wipeColor": "#ffffff", + "requestedPermissions": [], + "buildTargets": [ + "higgs", + "meson" + ], + "i18n": {} + }, + "scripts": { + "build": "fitbit-build", + "debug": "fitbit" + }, + "dependencies": {} +} diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..237c689 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,3 @@ +{ + "extends": "./node_modules/@fitbit/sdk/sdk-tsconfig.json" +}