Skip to content

Commit

Permalink
fix export & drop travis
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenjoezhang committed Mar 11, 2023
1 parent fc1ecf4 commit fd690a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
8 changes: 2 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "hexo",
"version": "6.3.0",
"description": "A fast, simple & powerful blog framework, powered by Node.js.",
"main": "lib/hexo",
"main": "dist/hexo",
"bin": {
"hexo": "./bin/hexo"
},
Expand All @@ -16,12 +16,8 @@
"test-cov": "c8 --reporter=lcovonly npm test -- --no-parallel",
"prepare": "husky install"
},
"directories": {
"lib": "./lib",
"bin": "./bin"
},
"files": [
"lib/",
"dist/",
"bin/"
],
"repository": "hexojs/hexo",
Expand Down
4 changes: 1 addition & 3 deletions test/benchmark.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ const isWin32 = require('os').platform() === 'win32';
const npmScript = isWin32 ? 'npm.cmd' : 'npm';

const testDir = resolve('.tmp-hexo-theme-unit-test');
const zeroEksDir = process.env.TRAVIS_BUILD_DIR
? join(process.env.TRAVIS_BUILD_DIR, '0x')
: resolve(testDir, '0x');
const zeroEksDir = resolve(testDir, '0x');
const hexoBin = resolve(testDir, 'node_modules/.bin/hexo');

const isGitHubActions = process.env.GITHUB_ACTIONS;
Expand Down

0 comments on commit fd690a5

Please sign in to comment.