|
1 | 1 | {
|
2 | 2 | "name": "react-context-toolbox",
|
3 |
| - "version": "0.0.0-development", |
| 3 | + "version": "0.0.0", |
4 | 4 | "main": "lib/index.js",
|
5 | 5 | "modules": "es/index.js",
|
6 | 6 | "jsnext:main": "es/index.js",
|
|
14 | 14 | "tdd": "jest --watch",
|
15 | 15 | "test": "npm run lint && jest",
|
16 | 16 | "testonly": "jest",
|
17 |
| - "build:es": "babel src -d es --env-name esm --ignore **/__tests__ --delete-dir-on-start", |
18 |
| - "build:lib": "babel src -d lib --ignore **/__tests__ --delete-dir-on-start", |
| 17 | + "build:es": |
| 18 | + "babel src -d es --env-name esm --ignore **/__tests__ --delete-dir-on-start", |
| 19 | + "build:lib": |
| 20 | + "babel src -d lib --ignore **/__tests__ --delete-dir-on-start", |
19 | 21 | "build": "npm run build:lib && npm run build:es",
|
20 | 22 | "prepublishOnly": "yarn run build",
|
21 |
| - "lint": "eslint . && prettier --list-different --ignore-path .eslintignore '**/*.{json,css,md}'", |
22 |
| - "format": "eslint . --fix && prettier --write --ignore-path .eslintignore '**/*.{json,css,md}'", |
| 23 | + "lint": |
| 24 | + "eslint . && prettier --list-different --ignore-path .eslintignore '**/*.{json,css,md}'", |
| 25 | + "format": |
| 26 | + "eslint . --fix && prettier --write --ignore-path .eslintignore '**/*.{json,css,md}'", |
23 | 27 | "precommit": "lint-staged",
|
24 | 28 | "travis-deploy-once": "travis-deploy-once",
|
25 | 29 | "semantic-release": "semantic-release"
|
|
33 | 37 | "trailingComma": "all"
|
34 | 38 | },
|
35 | 39 | "lint-staged": {
|
36 |
| - "*.js": [ |
37 |
| - "eslint --fix", |
38 |
| - "git add" |
39 |
| - ], |
| 40 | + "*.js": ["eslint --fix", "git add"], |
40 | 41 | "*.{json,css,md}": [
|
41 | 42 | "prettier --write --ignore-path .eslintignore",
|
42 | 43 | "git add"
|
43 | 44 | ]
|
44 | 45 | },
|
45 | 46 | "jest": {
|
46 |
| - "roots": [ |
47 |
| - "<rootDir>/test" |
48 |
| - ], |
| 47 | + "roots": ["<rootDir>/test"], |
49 | 48 | "testEnvironment": "jsdom",
|
50 |
| - "setupFiles": [ |
51 |
| - "<rootDir>/test/index.js" |
52 |
| - ] |
| 49 | + "setupFiles": ["<rootDir>/test/index.js"] |
53 | 50 | },
|
54 | 51 | "release": {
|
55 |
| - "extends": [ |
56 |
| - "@4c/semantic-release-config" |
57 |
| - ] |
| 52 | + "extends": ["@4c/semantic-release-config"] |
58 | 53 | },
|
59 | 54 | "devDependencies": {
|
60 | 55 | "@4c/babel-preset-4catalyzer": "^1.0.0",
|
|
0 commit comments