-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
51 lines (51 loc) · 2.04 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"private": true,
"version": "1.2.0",
"author": "Jaid <[email protected]> (https://github.com/Jaid)",
"babel": {
"presets": [
"/home/jaid/dev/babel-preset-jaid/dist/babel-preset-jaid/index.js"
]
},
"eslintConfig": {
"extends": "jaid"
},
"jest": {
"testEnvironment": "node",
"coverageDirectory": "dist/jest/coverage",
"collectCoverageFrom": [
"src/**"
]
},
"dependencies": {
"@babel/runtime": "^7.3.1",
"debug": "^4.1.1"
},
"devDependencies": {
"@babel/plugin-transform-runtime": "^7.2.0",
"ajv": "^6.9.1",
"babel-jest": "^24.1.0",
"babel-preset-jaid": "^4.2.0",
"caniuse-lite": "^1.0.30000938",
"cross-env": "^5.2.0",
"eslint": "^5.14.1",
"eslint-config-jaid": "^1.11.1",
"jest": "^24.1.0",
"opn-cli": "^4.0.0",
"rimraf": "^2.6.3",
"webpack-config-jaid": "^3.1.0"
},
"scripts": {
"clean": "rimraf dist/ test/**/dist/",
"babel:prod": "rimraf dist/src-transpiled/production && cross-env NODE_ENV=production babel --out-dir dist/src-transpiled/production --source-maps true src",
"babel:dev": "rimraf dist/src-transpiled/development && babel --out-dir dist/src-transpiled/development src",
"babel:test": "rimraf dist/src-transpiled/test && cross-env NODE_ENV=test babel --out-dir dist/src-transpiled/test src",
"build:prod": "cross-env NODE_ENV=production webpack",
"build:dev": "webpack",
"test": "npm run build:prod && cross-env NODE_ENV=production MAIN=dist/package/production jest --runInBand",
"test:coverage": "npm run test:dev -- --coverage --json --outputFile=dist/jest/stats.json",
"test:dev": "cross-env NODE_ENV=test jest --runInBand",
"test:debug": "cross-env DEBUG=\"$(basename $PWD),$(basename $PWD):*\" NODE_ENV=test node --inspect=9229 node_modules/jest/bin/jest.js --runInBand",
"release": "npm run clean && npm test && cross-env git tag v$npm_package_version && git push --tags && cross-env opn https://github.com/$npm_package_author_name/$(basename $PWD)/releases/new?tag=v$npm_package_version"
}
}