Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAdam Blackburn <regality@gmail.com>2012-03-08 11:03:31 +0400
committerisaacs <i@izs.me>2012-03-13 08:19:42 +0400
commitaf50a3ca8e55e1706d3c5989393e3aca5370464d (patch)
tree08f801188eb7dc23436fef30654847f0a48012e0 /test
parent7c36d0ee62eacc2df9419fb93c79e2654169babe (diff)
Fix #472 Adds support for os/cpu fields in package.json
See docs/cli/json.md for details.
Diffstat (limited to 'test')
-rw-r--r--test/packages/npm-test-platform-all/package.json5
-rw-r--r--test/packages/npm-test-platform/package.json5
2 files changed, 10 insertions, 0 deletions
diff --git a/test/packages/npm-test-platform-all/package.json b/test/packages/npm-test-platform-all/package.json
new file mode 100644
index 000000000..fc60acff2
--- /dev/null
+++ b/test/packages/npm-test-platform-all/package.json
@@ -0,0 +1,5 @@
+{"name":"npm-test-platform"
+,"version":"9.9.9-9"
+,"homepage":"http://www.zombo.com/",
+,"os":["darwin","linux","win32","solaris","haiku","sunos","freebsd","openbsd","netbsd"]
+,"cpu":["arm","mips","ia32","x64","sparc"]}
diff --git a/test/packages/npm-test-platform/package.json b/test/packages/npm-test-platform/package.json
new file mode 100644
index 000000000..d6c3e09e1
--- /dev/null
+++ b/test/packages/npm-test-platform/package.json
@@ -0,0 +1,5 @@
+{"name":"npm-test-platform"
+,"version":"9.9.9-9"
+,"homepage":"http://www.youtube.com/watch?v=dQw4w9WgXcQ"
+,"os":["!this_is_not_a_real_os", "!neither_is_this"]
+,"cpu":["!this_is_not_a_real_cpu","!this_isnt_either"]}