-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Remove biz-app logic and add subapp config in package.json (#9)
* feat: Update config * feat: Remove biz-app logic * feat: Change `apfe init` to `apfe create` * feat: Remove `apfe pack init` and `apfe pack build` * feat: Adjust offline-package config into package.json ` "subapp": { "id": "hello-world", "includes": [ "./dist/**/*" ], "ignores": [ "./dist/**/*.md", "./dist/**/*.map" ] }, ` * feat: Cleanup `84` in dir path
- Loading branch information
1 parent
e40eab5
commit b5de1ae
Showing
84 changed files
with
278 additions
and
3,375 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,8 @@ | ||
'use strict' | ||
|
||
module.exports = { | ||
extends: 'eslint-config-antife', | ||
env: { | ||
node: true, | ||
es6: true, | ||
mocha: true | ||
}, | ||
rules: { | ||
'max-len': 0 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,9 @@ coverage/ | |
.babelrc | ||
.eslintrc.js | ||
.eslintignore | ||
.travis.yml | ||
entrypoint.sh | ||
Dockerfile | ||
.idea | ||
.code | ||
*.sw* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,12 @@ | ||
{ | ||
"name": "apfe-cli", | ||
"version": "1.1.1", | ||
"description": "Alipay+ Sub-app ToolKit", | ||
"description": "Alipay+ Subapp ToolKit", | ||
"keywords": [ | ||
"Alipay+", | ||
"ToolKit", | ||
"CLI", | ||
"FrontEnd" | ||
], | ||
"contributors": [ | ||
"xiekw2010 <[email protected]>", | ||
"brucejcw <[email protected]>", | ||
"elrrrrrrr <[email protected]>" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/ant-ife/apfe-cli.git" | ||
|
@@ -24,75 +18,80 @@ | |
"bin": { | ||
"apfe": "dist/bin/apfe.js" | ||
}, | ||
"scripts": { | ||
"babel": "babel ./src --out-dir ./dist", | ||
"babel:dev": "babel ./src -w --out-dir ./dist", | ||
"lint": "eslint ./src --ext .js --fix", | ||
"lint:dev": "esw ./src -w", | ||
"dev": "npm run lint:dev & npm run babel:dev", | ||
"build": "npm run lint && rm -rf ./dist && npm run babel", | ||
"pub": "npm run build && npm publish", | ||
"build:docker": "docker build . -t=apfe/apfe-build-docker", | ||
"ci": "npm run lint", | ||
"contributor": "git-contributor" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "npm run lint" | ||
} | ||
}, | ||
"dependencies": { | ||
"babel-code-frame": "^6.26.0", | ||
"babel-core": "^6.26.0", | ||
"babel-plugin-transform-object-rest-spread": "^6.23.0", | ||
"babel-core": "^6.26.3", | ||
"babel-plugin-transform-object-rest-spread": "^6.26.0", | ||
"babel-plugin-transform-regenerator": "^6.26.0", | ||
"babel-plugin-transform-runtime": "^6.23.0", | ||
"babel-preset-es2015": "^6.24.1", | ||
"babel-runtime": "^6.26.0", | ||
"camelcase": "^4.1.0", | ||
"commander": "^2.11.0", | ||
"consolidate": "^0.14.5", | ||
"camelcase": "^5.0.0", | ||
"commander": "^2.17.1", | ||
"consolidate": "^0.15.1", | ||
"debug": "^3.1.0", | ||
"deepmerge": "^1.5.2", | ||
"fs-extra": "^4.0.2", | ||
"git-branch": "^1.0.0", | ||
"deepmerge": "^2.1.1", | ||
"fs-extra": "^7.0.0", | ||
"git-branch": "^2.0.1", | ||
"git-clone": "^0.1.0", | ||
"globby": "^6.1.0", | ||
"gulp": "^3.8.1", | ||
"gulp-tar": "~1.0.0", | ||
"gulp-zip": "^0.4.0", | ||
"handlebars": "^4.0.5", | ||
"inquirer": "^0.12.0", | ||
"globby": "^8.0.1", | ||
"gulp": "^3.9.1", | ||
"gulp-tar": "~2.1.0", | ||
"gulp-zip": "^4.2.0", | ||
"handlebars": "^4.0.11", | ||
"inquirer": "^6.2.0", | ||
"ios-simulator": "^1.0.15", | ||
"map-stream": "^0.1.0", | ||
"metalsmith": "^2.1.0", | ||
"minimatch": "^3.0.0", | ||
"metalsmith": "^2.3.0", | ||
"minimatch": "^3.0.4", | ||
"multimatch": "^2.1.0", | ||
"node-forge": "^0.7.1", | ||
"ora": "^0.2.1", | ||
"node-forge": "^0.7.6", | ||
"ora": "^3.0.0", | ||
"ramda": "^0.25.0", | ||
"ramda-fantasy": "^0.8.0", | ||
"read-metadata": "^1.0.0", | ||
"request": "^2.67.0", | ||
"request": "^2.88.0", | ||
"rimraf": "^2.6.2", | ||
"semver": "^5.4.1", | ||
"shelljs": "^0.7.8", | ||
"semver": "^5.5.1", | ||
"shelljs": "^0.8.2", | ||
"user-home": "^2.0.0", | ||
"validate-npm-package-name": "^2.2.2", | ||
"win-spawn": "^2.0.0", | ||
"xutil": "^1.0.11" | ||
"validate-npm-package-name": "^3.0.0", | ||
"win-spawn": "^2.0.0" | ||
}, | ||
"devDependencies": { | ||
"babel-cli": "^6.24.1", | ||
"babel-eslint": "^7.1.1", | ||
"chai": "^3.5.0", | ||
"babel-cli": "^6.26.0", | ||
"babel-eslint": "^9.0.0", | ||
"chai": "^4.1.2", | ||
"chai-fs": "^2.0.0", | ||
"chalk": "^2.3.0", | ||
"eslint": "^4.14.0", | ||
"eslint-config-antife": "^1.0.0", | ||
"eslint-plugin-babel": "^4.1.1", | ||
"eslint-watch": "^3.1.2", | ||
"chalk": "^2.4.1", | ||
"eslint": "^5.4.0", | ||
"eslint-config-antife": "^1.0.3", | ||
"eslint-plugin-babel": "^5.1.0", | ||
"eslint-watch": "^4.0.2", | ||
"git-contributor": "^1.0.8", | ||
"husky": "^1.0.0-rc.13", | ||
"istanbul": "^0.4.5", | ||
"mocha": "^4.0.1" | ||
"mocha": "^5.2.0" | ||
}, | ||
"engines": { | ||
"node": ">=8.0.0" | ||
}, | ||
"scripts": { | ||
"babel": "babel ./src --out-dir ./dist", | ||
"babel:dev": "babel ./src -w --out-dir ./dist", | ||
"lint": "eslint ./src --ext .js --fix", | ||
"lint:dev": "esw ./src -w", | ||
"dev": "npm run lint:dev & npm run babel:dev", | ||
"build": "rm -rf ./dist && npm run babel", | ||
"mocha": "istanbul cover `npm bin`/_mocha test/scripts/test-bizapp-compose.js --slow 1000", | ||
"test": "npm run build && npm run mocha", | ||
"pub": "npm run build && npm publish", | ||
"build:docker": "docker build . -t=apfe/apfe-build-docker", | ||
"ci": "npm run lint && npm run test" | ||
}, | ||
"license": "MIT" | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.