Browse Source

Remove npm

Fabian 3 years ago
parent
commit
f0a85b4d5b
3 changed files with 2 additions and 21 deletions
  1. 0 2
      .gitignore
  2. 2 5
      Makefile
  3. 0 14
      package.json

+ 0 - 2
.gitignore

@@ -17,8 +17,6 @@ images/
 *.fixture
 *.fuse_hidden*
 node_modules/
-package-lock.json
-profile*.json
 Cargo.lock
 build-head
 src/rust/gen/interpreter.rs

+ 2 - 5
Makefile

@@ -287,11 +287,8 @@ all-tests: jshint kvm-unit-test expect-tests qemutests jitpagingtests api-tests
 	# - debiantests (requires network)
 	# - devices-test (hangs)
 
-node_modules/.bin/jshint:
-	npm install
-
-jshint: node_modules/.bin/jshint
-	./node_modules/.bin/jshint --config=./.jshint.json src tests gen lib --exclude lib/closure-base.js
+jshint:
+	jshint --config=./.jshint.json src tests gen lib --exclude lib/closure-base.js
 
 rustfmt: $(RUST_FILES)
 	cargo +nightly fmt --all -- --check

+ 0 - 14
package.json

@@ -1,14 +0,0 @@
-{
-    "name": "v86",
-    "repository": {
-        "type": "git",
-        "url": "https://github.com/copy/v86"
-    },
-    "license": "BSD-2-Clause",
-    "scripts": {
-        "test": "node tests/full/run.js"
-    },
-    "devDependencies": {
-        "jshint": "^2.9.5"
-    }
-}