archive
/
zxcvbn-app
Archived
1
Fork 0

setup typescript

This commit is contained in:
Jake Howard 2016-09-16 13:49:29 +01:00
parent 24eba19957
commit 62bc623c12
Signed by: jake
GPG Key ID: 57AFB45680EDD477
4 changed files with 34 additions and 1 deletions

3
.gitignore vendored
View File

@ -39,3 +39,6 @@ buck-out/
\.buckd/
android/app/libs
android/keystores/debug.keystore
dist/
typings/

View File

@ -3,13 +3,15 @@
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start"
"start": "node node_modules/react-native/local-cli/cli.js start",
"build": "tsc"
},
"dependencies": {
"immutable": "=3.8.1",
"react": "=15.3.1",
"react-native": "=0.33.0",
"react-native-progress-bar": "=0.1.2",
"typescript": "^1.8.10",
"underscore": "=1.8.3",
"zxcvbn": "=4.3.0"
}

19
tsconfig.json Normal file
View File

@ -0,0 +1,19 @@
{
"compilerOptions": {
"target": "es6",
"allowJs": true,
"jsx": "react",
"outDir": "dist",
"rootDir": "src",
"sourceMap": true,
"noImplicitAny": false
},
"filesGlob": [
"typings/**/*.d.ts",
"src/**/*.ts",
"src/**/*.tsx"
],
"exclude": [
"node_modules"
]
}

9
typings.json Normal file
View File

@ -0,0 +1,9 @@
{
"name": "zxcvbn-app",
"dependencies": {
"immutable": "registry:npm/immutable#3.7.6+20160411060006"
},
"globalDependencies": {
"react-native": "registry:dt/react-native#0.29.0+20160830141535"
}
}