|
2 | 2 | "name": "cross-env", |
3 | 3 | "version": "0.0.0-semantically-released", |
4 | 4 | "description": "Run scripts that set and use environment variables across platforms", |
5 | | - "main": "dist/index.js", |
| 5 | + "main": "src/index.js", |
6 | 6 | "bin": { |
7 | | - "cross-env": "dist/bin/cross-env.js", |
8 | | - "cross-env-shell": "dist/bin/cross-env-shell.js" |
| 7 | + "cross-env": "src/bin/cross-env.js", |
| 8 | + "cross-env-shell": "src/bin/cross-env-shell.js" |
9 | 9 | }, |
10 | 10 | "engines": { |
11 | 11 | "node": ">=8.0" |
12 | 12 | }, |
13 | 13 | "scripts": { |
14 | | - "build": "kcd-scripts build", |
15 | 14 | "lint": "kcd-scripts lint", |
16 | 15 | "test": "kcd-scripts test", |
17 | 16 | "validate": "kcd-scripts validate" |
|
22 | 21 | } |
23 | 22 | }, |
24 | 23 | "files": [ |
25 | | - "dist" |
| 24 | + "src", |
| 25 | + "!__tests__" |
26 | 26 | ], |
27 | 27 | "keywords": [ |
28 | 28 | "cross-environment", |
|
32 | 32 | "author": "Kent C. Dodds <kent@doddsfamily.us> (http://kentcdodds.com/)", |
33 | 33 | "license": "MIT", |
34 | 34 | "dependencies": { |
35 | | - "@babel/runtime": "^7.6.2", |
36 | 35 | "cross-spawn": "^7.0.0" |
37 | 36 | }, |
38 | 37 | "devDependencies": { |
|
41 | 40 | "eslintConfig": { |
42 | 41 | "extends": "./node_modules/kcd-scripts/eslint.js" |
43 | 42 | }, |
44 | | - "eslintIgnore": [ |
45 | | - "node_modules", |
46 | | - "coverage", |
47 | | - "dist" |
48 | | - ], |
| 43 | + "// babel 1": "this disables all built-in plugins from kcd-scripts for tests", |
| 44 | + "// babel 2": "that way we ensure that the tests run without compilation", |
| 45 | + "// babel 3": "because this module is published as-is. It is not compiled.", |
| 46 | + "babel": {}, |
49 | 47 | "repository": { |
50 | 48 | "type": "git", |
51 | 49 | "url": "https://github.com/kentcdodds/cross-env.git" |
|
0 commit comments