Skip to content

Commit

Permalink
chore(wx-to-taro): 创建项目和依赖
Browse files Browse the repository at this point in the history
  • Loading branch information
yuche authored and luckyadam committed Nov 19, 2018
1 parent 44e4026 commit edf2c61
Show file tree
Hide file tree
Showing 4 changed files with 3,830 additions and 0 deletions.
34 changes: 34 additions & 0 deletions packages/wx-to-taro/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"name": "@tarojs/wx-to-taro",
"version": "0.0.1",
"description": "转换原生微信小程序代码为 Taro 代码",
"main": "index.js",
"scripts": {
"test": "jest"
},
"repository": {
"type": "git",
"url": "https://github.com/NervJS/taro/tree/master/packages/wx-to-taro"
},
"author": "yuche",
"license": "MIT",
"dependencies": {
"lodash": "^4.17.5",
"typescript": "^3.0.1",
"himalaya": "^1.1.0"
},
"devDependencies": {
"@types/jest": "^22.2.3",
"@types/lodash": "^4.14.105",
"@types/node": "^9.6.2",
"jest": "^23.0.1",
"jest-cli": "^22.1.4",
"ts-jest": "^22.4.6",
"tslint": "^5.10.0",
"tslint-config-prettier": "^1.10.0",
"tslint-config-standard": "^7.0.0"
},
"publishConfig": {
"access": "public"
}
}
31 changes: 31 additions & 0 deletions packages/wx-to-taro/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"compilerOptions": {
"target": "es2017",
"module": "commonjs",
"removeComments": false,
"preserveConstEnums": true,
"moduleResolution": "node",
"experimentalDecorators": true,
"noImplicitAny": false,
"allowSyntheticDefaultImports": true,
"outDir": "lib",
"noUnusedLocals": true,
"noUnusedParameters": true,
"strictNullChecks": true,
"sourceMap": true,
"baseUrl": ".",
"rootDir": "."
},
"include": ["src"],
"exclude": [
"__tests__",
"node_modules",
"dist",
"tests",
"jest",
"lib",
"**/*.test.ts",
"**/*.spec.ts"
],
"compileOnSave": false
}
9 changes: 9 additions & 0 deletions packages/wx-to-taro/tslint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"extends": ["tslint-config-standard"],
"rules": {
"no-console": true,
"no-unused-variable": false,
"member-ordering": false,
"no-debugger": true
}
}
Loading

0 comments on commit edf2c61

Please sign in to comment.