Skip to content

Commit d984ac3

Browse files
committed
feat: initial release
1 parent 22b6a28 commit d984ac3

File tree

1 file changed

+13
-18
lines changed

1 file changed

+13
-18
lines changed

package.json

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-context-toolbox",
3-
"version": "0.0.0-development",
3+
"version": "0.0.0",
44
"main": "lib/index.js",
55
"modules": "es/index.js",
66
"jsnext:main": "es/index.js",
@@ -14,12 +14,16 @@
1414
"tdd": "jest --watch",
1515
"test": "npm run lint && jest",
1616
"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",
1921
"build": "npm run build:lib && npm run build:es",
2022
"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}'",
2327
"precommit": "lint-staged",
2428
"travis-deploy-once": "travis-deploy-once",
2529
"semantic-release": "semantic-release"
@@ -33,28 +37,19 @@
3337
"trailingComma": "all"
3438
},
3539
"lint-staged": {
36-
"*.js": [
37-
"eslint --fix",
38-
"git add"
39-
],
40+
"*.js": ["eslint --fix", "git add"],
4041
"*.{json,css,md}": [
4142
"prettier --write --ignore-path .eslintignore",
4243
"git add"
4344
]
4445
},
4546
"jest": {
46-
"roots": [
47-
"<rootDir>/test"
48-
],
47+
"roots": ["<rootDir>/test"],
4948
"testEnvironment": "jsdom",
50-
"setupFiles": [
51-
"<rootDir>/test/index.js"
52-
]
49+
"setupFiles": ["<rootDir>/test/index.js"]
5350
},
5451
"release": {
55-
"extends": [
56-
"@4c/semantic-release-config"
57-
]
52+
"extends": ["@4c/semantic-release-config"]
5853
},
5954
"devDependencies": {
6055
"@4c/babel-preset-4catalyzer": "^1.0.0",

0 commit comments

Comments
 (0)