Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove babel and mjs #94

Merged
merged 5 commits into from
Aug 14, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove build command
  • Loading branch information
segayuu committed Jul 23, 2019
commit ea25605d3c7aafebcc2fdbb39a2dbc0eb4ddb3db
9 changes: 3 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,17 @@
"name": "hexo-math",
"version": "4.0.0",
"description": "Add math support to hexo",
"main": "lib/index.js",
"main": "src/index.js",
"repository": {
"type": "git",
"url": "https://github.com/akfish/hexo-math.git"
},
"scripts": {
"clean": "run-p clean:*",
"clean:build": "rimraf lib",
"clean:test": "rimraf test/site",
"build": "babel src --out-dir lib",
"clean": "rimraf test/site",
"pretest:clone": "git clone --recursive https://github.com/hexojs/hexo-starter.git ./test/site",
"pretest:asset": "cpx \"test/asset/**/*\" test/site",
"pretest:bootstrap": "npm --prefix=test/site install",
"pretest": "run-s clean:test pretest:clone pretest:asset pretest:bootstrap",
"pretest": "run-s clean pretest:clone pretest:asset pretest:bootstrap",
"test": "mocha",
"lint": "run-p lint:*",
"lint:src": "eslint src/*.js",
Expand Down
3 changes: 0 additions & 3 deletions test/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
{
"extends": "hexo/test",
"root": false,
"rules": {
"node/no-missing-require": "off"
},
"globals": {
"chai": true,
"Hexo": true,
Expand Down