UNPKG

2.61 kBJSONView Raw
1{
2 "version": "3.0.4",
3 "name": "stream-transform",
4 "description": "Object transformations implementing the Node.js `stream.Transform` API",
5 "keywords": [
6 "stream",
7 "transform",
8 "csv",
9 "object"
10 ],
11 "author": "David Worms <david@adaltas.com> (https://www.adaltas.com)",
12 "devDependencies": {
13 "@rollup/plugin-eslint": "^8.0.1",
14 "@rollup/plugin-node-resolve": "^13.0.6",
15 "@types/mocha": "^9.0.0",
16 "@types/node": "^16.11.7",
17 "coffeescript": "~2.6.1",
18 "csv-generate": "^4.0.4",
19 "each": "^1.2.2",
20 "eslint": "^8.2.0",
21 "mocha": "~9.1.3",
22 "pad": "~3.2.0",
23 "rollup": "^2.60.0",
24 "rollup-plugin-node-builtins": "^2.1.2",
25 "rollup-plugin-node-globals": "^1.4.0",
26 "should": "~13.2.3",
27 "ts-node": "^10.4.0",
28 "typescript": "^4.4.4"
29 },
30 "exports": {
31 ".": {
32 "import": "./lib/index.js",
33 "require": "./dist/cjs/index.cjs"
34 },
35 "./sync": {
36 "import": "./lib/sync.js",
37 "require": "./dist/cjs/sync.cjs"
38 },
39 "./browser/esm": "./dist/esm/index.js",
40 "./browser/esm/sync": "./dist/esm/sync.js"
41 },
42 "files": [
43 "dist",
44 "lib"
45 ],
46 "homepage": "https://csv.js.org/transform/",
47 "license": "MIT",
48 "main": "./dist/cjs/index.cjs",
49 "mocha": {
50 "inline-diffs": true,
51 "loader": "./test/loaders/all.mjs",
52 "recursive": true,
53 "reporter": "spec",
54 "require": [
55 "should"
56 ],
57 "throw-deprecation": true,
58 "timeout": 40000
59 },
60 "repository": {
61 "type": "git",
62 "url": "https://github.com/adaltas/node-csv.git",
63 "directory": "packages/stream-transform"
64 },
65 "scripts": {
66 "build": "npm run build:rollup && npm run build:ts",
67 "build:rollup": "npx rollup -c",
68 "build:ts": "cp lib/*.ts dist/cjs && cp lib/*.ts dist/esm",
69 "lint": "npm run lint:lib && npm run lint:samples && npm run lint:test",
70 "lint:lib": "eslint --fix lib/*.js",
71 "lint:samples": "eslint --fix samples/*.js",
72 "lint:test": "coffeelint --fix test/*.coffee",
73 "preversion": "npm run build && git add dist",
74 "pretest": "npm run build",
75 "test": "mocha 'test/**/*.{coffee,ts}'",
76 "test:legacy": "mocha --loader=./test/loaders/legacy/all.mjs 'test/**/*.{coffee,ts}'"
77 },
78 "type": "module",
79 "types": "dist/esm/index.d.ts",
80 "typesVersions": {
81 "*": {
82 ".": [
83 "dist/esm/index.d.ts"
84 ],
85 "sync": [
86 "dist/esm/sync.d.ts"
87 ],
88 "browser/esm": [
89 "dist/esm/index.d.ts"
90 ],
91 "browser/esm/sync": [
92 "dist/esm/sync.d.ts"
93 ]
94 }
95 },
96 "gitHead": "bab8d89a6eb3bc073233e27b7af0a50284b1590f"
97}