Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
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
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/node_modules/
.DS_Store
npm-debug.log
lib
2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.npmrc
.babelrc
src
appveyor.yml
test
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
"main": "lib/index.js",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"main": "lib/index.js",
"main": "src/index.js",

"scripts": {
"test": "mocha test/**/*.test.js --ui=tdd",
"tdd": "electron-mocha test/**/*.test.js --ui=tdd --renderer --interactive",
"build": "rimraf lib && babel src -d lib",
"prepare": "npm run build"
"tdd": "electron-mocha test/**/*.test.js --ui=tdd --renderer --interactive"
Copy link
Contributor

@aminya aminya Dec 14, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I forgot to remove build and prepare.

},
"author": "",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion test/unit/file-require-transform.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const assert = require('assert')
const dedent = require('dedent')
const path = require('path')
const recast = require('recast')
const FileRequireTransform = require('../../src/file-require-transform')
const FileRequireTransform = require('../../lib/file-require-transform')

suite('FileRequireTransform', () => {
test('simple require', () => {
Expand Down
4 changes: 2 additions & 2 deletions test/unit/generate-snapshot-script.test.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
const assert = require('assert')
const fs = require('fs')
const generateSnapshotScript = require('../../src/generate-snapshot-script')
const generateSnapshotScript = require('../../lib/generate-snapshot-script')
const Module = require('module')
const path = require('path')
const temp = require('temp').track()
const TransformCache = require('../../src/transform-cache')
const TransformCache = require('../../lib/transform-cache')
const {SourceMapConsumer} = require('source-map')
const {beforeEach, afterEach} = require("mocha")

Expand Down