-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
66 lines (66 loc) · 2.47 KB
/
package.json
File metadata and controls
66 lines (66 loc) · 2.47 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"name": "fetch-script",
"version": "0.0.9",
"description": "Async loading of scripts using the Fetch API",
"main": "lib/fetch-script.js",
"unpkg": "dist/fetch-script.js",
"module": "es/fetch-script.js",
"typings": "typings/fetch-script.d.ts",
"repository": "github:rufman/fetch-script",
"scripts": {
"build": "yarn run clean && yarn run build:es && yarn run build:commonjs && yarn run build:umd && yarn run build:umd:min",
"build:commonjs": "cross-env NODE_ENV=cjs rollup -c -o lib/fetch-script.js",
"build:es": "cross-env BABEL_ENV=es NODE_ENV=es rollup -c -o es/fetch-script.js",
"build:umd": "cross-env BABEL_ENV=es NODE_ENV=development rollup -c -o dist/fetch-script.js",
"build:umd:min": "cross-env BABEL_ENV=es NODE_ENV=production rollup -c -o dist/fetch-script.min.js",
"clean": "rimraf dist lib es coverage reports",
"lint": "eslint src/**",
"lint:ci": "yarn run lint --format junit -o reports/junit/js-lint-results.xml",
"prepare": "yarn run lint && yarn run test:cov && yarn run build",
"test": "cross-env BABEL_ENV=test NODE_ENV=production jest",
"test:ci": "rm -rf reports && cross-env JEST_JUNIT_OUTPUT_NAME=reports/junit/js-test-results.xml yarn run test --ci --runInBand --ci --reporters=default --reporters=jest-junit",
"test:clean": "rimraf .jest-cache",
"test:cov": "rimraf coverage && yarn run test --coverage",
"test:watch": "yarn run test --watch",
"release": "standard-version"
},
"author": "Stephane Rufer <stephane.rufer@gmail.com>",
"license": "MIT",
"files": [
"dist",
"lib",
"es",
"src",
"typings"
],
"devDependencies": {
"@babel/core": "^7.6.0",
"@babel/preset-env": "^7.6.0",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^24.9.0",
"babel-preset-env": "^1.7.0",
"cross-env": "^6.0.0",
"eslint": "^6.4.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-config-prettier": "^6.3.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-prettier": "^3.1.1",
"jest": "^24.9.0",
"jest-fetch-mock": "1.6.6",
"jest-junit": "^8.0.0",
"jsdom": "^15.1.1",
"prettier": "^1.18.2",
"rimraf": "^3.0.2",
"rollup": "^1.21.4",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-terser": "^5.1.2",
"standard-version": "^7.0.0",
"whatwg-fetch": "^3.0.0"
},
"resolutions": {
"mixin-deep": "1.3.2",
"set-value": "2.0.1"
}
}