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

Add package.json for local tests to prevent error during npm install #11

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
language: node_js
node_js: node
node_js: 12
dist: xenial
services:
- xvfb
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
"scripts": {
"preversion": "npm test",
"postpublish": "git push --tags && git push",
"testee": "testee test.html --browsers firefox",
"testee": "DEBUG=testee:* testee test.html --browsers firefox",
"mocha": "mocha -- test/node-test.js",
"test": "npm run jshint && npm run mocha && npm run testee",
"jshint": "jshint ./*.js --config",
"release:patch": "npm version patch && npm publish",
"release:minor": "npm version minor && npm publish",
"release:major": "npm version major && npm publish",
"release:pre": "npm version prerelease && npm publish --tag=pre",
"release:pre": "npm version prerelease && npm publish --tag=pre",
"develop": "done-serve --static --develop --port 8080"
},
"main": "can-import-module.js",
Expand All @@ -32,13 +32,13 @@
],
"devDependencies": {
"assert": "^2.0.0",
"can-import-module-test": "file:test",
"jshint": "^2.9.1",
"mocha": "^9.1.3",
"steal": "^2.2.1",
"steal-qunit": "^1.0.1",
"steal-qunit": "^2.0.0",
"steal-tools": "^2.2.1",
"testee": "^0.9.0",
"can-import-module-test": "file:./test"
"testee": "^0.9.0"
},
"license": "MIT",
"dependencies": {
Expand Down
1 change: 1 addition & 0 deletions test/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import './browser-test';
4 changes: 4 additions & 0 deletions test/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "can-import-module-test",
"version": "0.1.0"
}