-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
63 lines (63 loc) · 2.54 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
52
53
54
55
56
57
58
59
60
61
62
63
{
"name": "gatsby-plugin-perfume.js",
"version": "2.2.0",
"description": "Gatsby plugin to add the crossorigin attribute to every <link rel=\"preload\"> tag",
"main": "index.js",
"keywords": [
"gatsby",
"gatsby-plugin",
"perfume.js",
"performance-metrics",
"first-contentful-paint",
"google-analytics",
"web-performance"
],
"author": "NoriSte <nori.ste.magni@gmail.com>",
"license": "MIT",
"repository": "https://github.com/NoriSte/gatsby-plugin-perfume.js",
"devDependencies": {
"@babel/cli": "7.14.5",
"@babel/core": "7.14.6",
"@babel/plugin-proposal-class-properties": "7.14.5",
"@babel/plugin-proposal-private-methods": "7.14.5",
"babel-preset-gatsby-package": "1.10.0",
"cross-env": "7.0.3",
"cypress": "7.6.0",
"cz-conventional-changelog": "3.3.0",
"semantic-release": "17.4.4",
"start-server-and-test": "1.12.6"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"scripts": {
"commit": "npx git-cz",
"test": "npm run build && npm run build:test:projects",
"test:base-configuration-test": "cd test-projects/base-configuration-test && npm run test && cd ../..",
"build": "babel src --out-dir . --ignore **/__tests__",
"prepare": "cross-env NODE_ENV=production npm run build",
"watch": "babel -w src --out-dir . --ignore **/__tests__",
"build:test:projects": "npm run build:test:project:1",
"start:server1": "cd test-projects/base-configuration-test && npm run test:prepare",
"build:test:project:1": "start-server-and-test start:server1 http://localhost:8001 build:test:project:2",
"start:server2": "cd test-projects/non-inline-perfume-test && npm run test:prepare",
"build:test:project:2": "start-server-and-test start:server2 http://localhost:8002 build:test:project:3",
"start:server3": "cd test-projects/gtm-test && npm run test:prepare",
"build:test:project:3": "start-server-and-test start:server3 http://localhost:8003 build:test:project:4",
"start:server4": "cd test-projects/gtm-test-custom-event && npm run test:prepare",
"build:test:project:4": "start-server-and-test start:server4 http://localhost:8004 cy:run",
"cy:run": "cypress run --browser chrome",
"cy:open": "cypress open",
"clean": "find . -name \"node_modules\" -type d -prune -exec rm -rf '{}' +",
"semantic-release": "semantic-release"
},
"dependencies": {
"@babel/runtime": "^7.4.3",
"perfume.js": "^6.0.0"
},
"peerDependencies": {
"gatsby": "^2.0.0 || ^3.0.0 || ^4.0.0"
}
}